{"id":2661,"date":"2015-09-23T03:19:44","date_gmt":"2015-09-23T03:19:44","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=2661"},"modified":"2015-09-23T03:19:44","modified_gmt":"2015-09-23T03:19:44","slug":"php-fatal-error-allowed-memory-size-of-262144-bytes-exhausted-when-accessing-plesk","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/09\/23\/php-fatal-error-allowed-memory-size-of-262144-bytes-exhausted-when-accessing-plesk\/","title":{"rendered":"PHP Fatal error:  Allowed memory size of 262144 bytes exhausted when accessing plesk"},"content":{"rendered":"<p>Symptoms<\/p>\n<p>When I use Plesk Migration Manager to migrate data manually I get the following error:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# tail -f \/usr\/local\/psa\/admin\/logs\/panel.log\nPHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 64 bytes) in \/usr\/local\/psa\/admin\/plib\/backup\/Conflicts\/Detector\/ConflictDetector.php on line 495\n\n<\/pre>\n<p>I get this error after starting import from the migration file \/work_dir\/dump.xml.<br \/>\nResolution<\/p>\n<p>There is not enough memory for Plesk Panel php. You need to increase memory_limit for Plesk Panel php in \/usr\/local\/psa\/admin\/conf\/php.ini file up to 512 Mb.<\/p>\n<p>To check if settings were applied correctly you can run<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n\/usr\/local\/psa\/admin\/bin\/php -info | grep memory_limit\nmemory_limit =&gt; 1024 =&gt; 1024\n\n<\/pre>\n<p>Change to:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# memory_limit = 1024M\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Symptoms When I use Plesk Migration Manager to migrate data manually I get the following error: # tail -f \/usr\/local\/psa\/admin\/logs\/panel.log PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 64 bytes) in \/usr\/local\/psa\/admin\/plib\/backup\/Conflicts\/Detector\/ConflictDetector.php on line 495 I get this error after starting import from the migration file \/work_dir\/dump.xml. Resolution There is &#8230; <a title=\"PHP Fatal error:  Allowed memory size of 262144 bytes exhausted when accessing plesk\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2015\/09\/23\/php-fatal-error-allowed-memory-size-of-262144-bytes-exhausted-when-accessing-plesk\/\" aria-label=\"Read more about PHP Fatal error:  Allowed memory size of 262144 bytes exhausted when accessing plesk\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86],"tags":[],"class_list":["post-2661","post","type-post","status-publish","format-standard","hentry","category-plesk"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=2661"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2661\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=2661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=2661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=2661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}