Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Drupal 9 composer project doesn't work with less than 1.5 GB memory #2062

Closed
geerlingguy opened this issue Jul 6, 2020 · 2 comments
Closed
Labels

Comments

@geerlingguy
Copy link
Owner

Issue Type

  • Bug Report

Full console output

TASK [geerlingguy.drupal : Install dependencies with composer require (this may take a while).] ***
...
PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)

Summary

A Drupal 9 composer project created via composer create-project doesn't work for things like requiring additional packages without more than 1.5 GB of memory available (that's what Composer sets by default).

@geerlingguy geerlingguy added the bug label Jul 6, 2020
@geerlingguy
Copy link
Owner Author

related to #2050

@geerlingguy
Copy link
Owner Author

Thinking to do something similar to geerlingguy/ansible-role-drupal@a926c5c — just set a global env var, or add it to the geerlingguy.drupal role inclusion.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant