-1

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
3
  • How much memory does your virtual machine have?
    – oxr463
    Aug 22, 2019 at 15:20
  • When i click on the settings of the Oracle VM virtual box manger , under system it says 4MB
    – Diana
    Aug 22, 2019 at 15:45
  • Can you provide a screenshot of this in your question?
    – oxr463
    Aug 22, 2019 at 17:31

1 Answer 1

1

Your PHP code is trying to allocate more memory than is allowed in php.ini. You will need to increase the memory_limit setting.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .