Diana asked:
I am running Docker on an Oracle virtual machine (VM), and running a Drupal instance, where I do migrations from version 7 to version 8 database, both of which are there. The migrations were running fine but lately I am getting a memory error. Looking at the VM settings, I have plenty of memory, however.
This is the error:
Drush command terminated abnormally due to an unrecoverable error. [error] Error: Allowed memory size of 404750336 bytes exhausted (tried to allocate 199233536 bytes) in /var/www/html/web/core/lib/Drupal/Core/Database/Connection.php, line 686
My answer:
Your PHP code is trying to allocate more memory than is allowed in php.ini
. You will need to increase the memory_limit
setting.
View the full question and any other answers on Server Fault.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.