Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Having issues with drush/drupal running out of memory when using drush csta --all
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4104 bytes) in /Applications/MAMP/htdocs/abcwebsite/includes/menu.inc on line 872
Drush command terminated abnormally due to an unrecoverable error.
configuration-7.x-2.0-alpha3+11-dev
Drush Version : 6.1.0
Initial settings:
- php.ini: memory_limit = 512M
- @admin/reports/status, I see: 512M
Tried the following:
- ini_set('memory_limit', '1024M'); same error
- ini_set('memory_limit', '1024M'); AND drush.ini: memory_limit = 1024M; same error
- ini_set('memory_limit', '2048M'); same error
Any suggestions?
Comments
Comment #1
bisonbleu CreditAttribution: bisonbleu commentedUpdate
Created 2 fresh Drupal 7.35 installations for testing with only a handful of modules. I'm able to
drush csta --all
without any issues.Something tells me that the the fatal error I'm running into with the other site is related to the fact that I'm using a bunch of specialty modules e.g. Search API, Geofields, Leaflet, etc.
Any thoughts on this?