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