Allowed Memory size

Created on 15 February 2024, 11 months ago
Updated 16 February 2024, 11 months ago

When I run the command :
drush migrate-upgrade --configure-only --legacy-db-url=mysql://user:pass@127.0.0.1/db_prod --legacy-root=/www/drupal

I got this error:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 36864 bytes) in /www/drupal/web/core/lib/Drupal/Core/Database/StatementWrapperIterator.php on line 111

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 45056 bytes) in /www/drupal/vendor/composer/ClassLoader.php on line 576

I have updated the memory to :
php -r "echo ini_get('memory_limit').PHP_EOL;"
4096M

But even with this limit increased a lot, the error is still there, and also with -1 same unable to make it work.

Do you know what I can do to solve that?

πŸ› Bug report
Status

Closed: won't fix

Version

4.0

Component
MigrationΒ  β†’

Last updated 1 day ago

Created by

πŸ‡¨πŸ‡­Switzerland sir_squall

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024