Cannot migrate data: Allowed memory size exhausted

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 11.0 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:54:05 UTC

Modified:

2016-12-21 19:29:25 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot migrate data: Allowed memory size exhausted

Symptoms

When I use Plesk Migration Manager to migrate data manually I get the following error:

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 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.

To check if settings were applied correctly you can run

/usr/local/psa/admin/bin/php -info | grep memory_limit
memory_limit => 512M => 512M

Cause

There is not enough memory for PHP

Have more questions? Submit a request
Please sign in to leave a comment.