{"id":363,"date":"2025-12-28T15:06:55","date_gmt":"2025-12-28T14:06:55","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=363"},"modified":"2026-01-11T11:12:37","modified_gmt":"2026-01-11T10:12:37","slug":"how-do-i-fix-allowed-memory-size-exhausted-error","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-do-i-fix-allowed-memory-size-exhausted-error\/","title":{"rendered":"How do I fix Allowed memory size exhausted error?"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">The problem may be related to the amount of <strong>RAM<\/strong> that the scripts need.<br>The full message may look like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><em>Fatal error<\/em>: Allowed <em>memory<\/em> size of 64M bytes exhausted<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">By default, the limit is set to 64M. The set value can be changed by adding the following line to the <strong>.htaccess<\/strong> file, where the value of 128M is the amount of <strong>RAM<\/strong> that can be (for different packages the maximum values are different) maximum allocated for the script:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><em>php_value memory_limit 128M\n<\/em><\/code><\/pre>\n\n\n\n<\/div>\n\n<div id=\"mybox-4195693066\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Early access<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Still need help?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contact our customer service team.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Message us<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">This is, of course, one of the many parameters you can use. More information on this topic can be found <a href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/information-about-current-php-parameters-phpinfo\/\">HERE.<\/a><\/p>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[25,43],"manual_kb_tag":[3456,3457,3458,3459,3460,3461,3462,3463,3464,3465,3466,3467,3468,718,1292,3455],"class_list":["post-363","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-hosting","manualknowledgebasecat-website-errors","manual_kb_tag-php-memory-limit","manual_kb_tag-increase-memory-limit","manual_kb_tag-php-ini","manual_kb_tag-php-scripts","manual_kb_tag-memory-limit-error","manual_kb_tag-fatal-error","manual_kb_tag-out-of-memory","manual_kb_tag-memory-exhausted-error","manual_kb_tag-php-value-memory-limit","manual_kb_tag-php-fatal-error","manual_kb_tag-memory-allocation-limit","manual_kb_tag-script-memory-usage","manual_kb_tag-change-memory-limit","manual_kb_tag-htaccess-file","manual_kb_tag-server-configuration","manual_kb_tag-allowed-memory-size-exhausted"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":0,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/363\/revisions"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=363"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=363"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}