Problem/Motivation
While updating drupal.org/download to promote the Drupal quickstart command (instead of zip/tar.gz as the primary way to get Drupal) encountered some memory issues.
The standard Drupal quickstart command recommending the demo_umami profile doesn't fit in with most systems 128M limit for php memory:
$ git clone https://git.drupalcode.org/project/drupal.git && cd drupal && composer install
$ php ./core/scripts/drupal quick-start demo_umamiThe failure output typically looks like:
php ./core/scripts/drupal quick-start demo_umami
9/17 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░]
Install site
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /Users/timlehnen/Dev/quickstart/drupal/core/lib/Drupal/Core/Config/Entity/Query/Condition.php on line 125
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /Users/timlehnen/Dev/quickstart/drupal/core/lib/Drupal/Core/Config/Entity/Query/Condition.php on line 125
This can be mitigated with a command like:
$ php -d memory_limit=256M core/scripts/drupal quick-start demo_umami
Per @alexpott - it is likely this issue is related to: https://www.drupal.org/project/drupal/issues/3043330
Steps to reproduce
Run the quickstart command.
Standard and Minimal profiles fit in the 128M default, but there are some reports they encounter random whitescreens after install.
Proposed resolution
TBD
Remaining tasks
TBD
Comments
Comment #2
hestenetComment #3
drummComment #7
ressaI will just mention and add #3271178: Quick start command installation stops responding under "Related issues" here, to hopefully give it some attention, since the Drupal Quickstart command (for some) freezes after a minute, at least since March 2022 ...
Comment #9
wim leers#3043330: Reduce the number of field blocks created for entities (possibly to zero) landed today! Does that mean we can close this?
Comment #10
acbramley commentedUnfortunately I can still reproduce this on 11.x
Comment #11
ressaBoth https://www.drupal.org/download and in the docs use more memory (
memory_limit=256M), so maybe that takes care of it?I use DDEV to run
quick-start, but am facing difficulties currently ... see Document or fix Drupal Quickstart command #7348.