Drupal Quickstart command runs into php memory limits, especially with demo_umami profile

Created on 5 October 2021, about 3 years ago
Updated 7 March 2024, 10 months ago

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_umami

The 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 🐛 Reduce the number of field blocks created for entities (possibly to zero) Fixed

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

Release notes snippet

🐛 Bug report
Status

Postponed: needs info

Version

11.0 🔥

Component
Install 

Last updated 7 days ago

No maintainer
Created by

🇺🇸United States hestenet Portland, OR 🇺🇸

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024