{"id":68,"date":"2012-11-29T12:47:05","date_gmt":"2012-11-29T18:47:05","guid":{"rendered":"http:\/\/sistemasnonex.com\/blog\/?p=68"},"modified":"2014-07-11T17:18:31","modified_gmt":"2014-07-11T22:18:31","slug":"fatal-error-allowed-memory-size-of-xxxxx-bytes-exhausted-tried-to-allocate-xxxx-bytes","status":"publish","type":"post","link":"https:\/\/www.sistemasnonex.com\/blog\/fatal-error-allowed-memory-size-of-xxxxx-bytes-exhausted-tried-to-allocate-xxxx-bytes\/","title":{"rendered":"Fatal error: Allowed memory size of xxxxx bytes exhausted (tried to allocate xxxx bytes)"},"content":{"rendered":"<p><a href=\"http:\/\/sistemasnonex.com\/blog\/fatal-error-allowed-memory-size-of-xxxxx-bytes-exhausted-tried-to-allocate-xxxx-bytes\/phpini\/\" rel=\"attachment wp-att-71\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-71\" title=\"phpini\" src=\"http:\/\/sistemasnonex.com\/blog\/..\/downloads\/2012\/11\/phpini.png\" alt=\"\" width=\"197\" height=\"54\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Al iniciar este blog en <a title=\"wordpress ORG\" href=\"http:\/\/wordpress.org\/\" target=\"_blank\">WordPress<\/a> y probar varios plugins de diferentes tipos, tuve un error al intentar superar el m\u00e1ximo de los recursos de memoria en el servidor (compartido) ubicado en la configuraci\u00f3n del PHP\u00a0 <cite id=\"memory_limit\" title=\"memory_limit\">memory_limit<\/cite>.<\/p>\n<p>Al contactar a soporte t\u00e9cnico para que subieran el limite de la memoria, recib\u00ed la respuesta de que\u00a0 solo era posible haciendo grandes y permanentes movimientos a todo el hosting (seg\u00fan ellos), el cual no es recomendable por el largo tiempo de inactividad en lo que aplican los supuestos cambios.<\/p>\n<p>&nbsp;<\/p>\n<p>Estos errores no son exclusivos del Word Press, ya que es el limite impuesto por la configuraci\u00f3n del PHP y se presenta en MAGENTO,\u00a0 JOOMLA, WP y cualquier otro sistema que llegue a ese limite, el cual es configurable 100%.<\/p>\n<p>&nbsp;<\/p>\n<p>Entonces la manera mas sencilla de resolverlo es:<\/p>\n<p>&nbsp;<\/p>\n<p>Si tienen un servidor propio o acceso al php.ini (\/etc\/php5\/apache2\/php.ini , puede variar la ruta) podr\u00e1n modificar la opci\u00f3n ej.:<\/p>\n<p><a href=\"http:\/\/sistemasnonex.com\/blog\/fatal-error-allowed-memory-size-of-xxxxx-bytes-exhausted-tried-to-allocate-xxxx-bytes\/phpini1\/\" rel=\"attachment wp-att-76\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76\" title=\"phpini1\" src=\"http:\/\/sistemasnonex.com\/blog\/..\/downloads\/2012\/11\/phpini1.png\" alt=\"\" width=\"663\" height=\"560\" srcset=\"https:\/\/www.sistemasnonex.com\/blog\/..\/downloads\/2012\/11\/phpini1.png 663w, https:\/\/www.sistemasnonex.com\/blog\/..\/downloads\/2012\/11\/phpini1-300x253.png 300w\" sizes=\"(max-width: 663px) 100vw, 663px\" \/><\/a><\/p>\n<p><em> <cite id=\"memory_limit = 16M\" title=\"memory_limit = 16M\"><code>memory_limit = 16M<\/code><\/cite><cite id=\"memory_limit = 16M\" title=\"memory_limit = 16M\">\u00a0\u00a0<\/cite><\/em><\/p>\n<p>por<\/p>\n<p><em><cite id=\"memory_limit = 16M\" title=\"memory_limit = 16M\"><code>memory_limit = 64M<\/code><\/cite><\/em><\/p>\n<p>&nbsp;<\/p>\n<p><strong>En caso de que su servidor sea compartido<\/strong>\u00a0 tendr\u00e1n que crear un archivo<strong> php.ini dentro del directorio en cuesti\u00f3n,<\/strong> si el problema es en wordpress dentro del admin, tendr\u00eda que quedar as\u00ed:<\/p>\n<h4><em><cite id=\"php.ini\" title=\"php.ini\">www.ejemplodelsitio.com.mx\/wp-admin\/php.ini<\/cite><\/em><\/h4>\n<p>Dentro del php.ini basta con incluir \u00a0 <em>\u00bb memory_limit = 64M ;\u00a0 \u00ab<\/em> sin las comillas, si requieren mas memoria, lo cual no deber\u00eda ser necesario pueden sustituir el 64M por 128M o cualquier n\u00famero que necesiten.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Al iniciar este blog en WordPress y probar varios plugins de diferentes tipos, tuve un error al intentar superar el m\u00e1ximo de los recursos de memoria en el servidor (compartido) ubicado en la configuraci\u00f3n del PHP\u00a0 memory_limit. Al contactar a soporte t\u00e9cnico para que subieran el limite de la memoria, recib\u00ed la respuesta de&#8230; <\/p>\n<div class=\"read-more\"><a href=\"https:\/\/www.sistemasnonex.com\/blog\/fatal-error-allowed-memory-size-of-xxxxx-bytes-exhausted-tried-to-allocate-xxxx-bytes\/\">Leer m\u00e1s<\/a><\/div>\n","protected":false},"author":3,"featured_media":76,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[8,4],"tags":[],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/www.sistemasnonex.com\/blog\/..\/downloads\/2012\/11\/phpini1.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9njjm-16","post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/posts\/68"}],"collection":[{"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/comments?post=68"}],"version-history":[{"count":8,"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":75,"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/posts\/68\/revisions\/75"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/media\/76"}],"wp:attachment":[{"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/media?parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/categories?post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/tags?post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->