Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling of low-memory situations #127

Open
drumm opened this issue Nov 6, 2024 · 0 comments
Open

Improve handling of low-memory situations #127

drumm opened this issue Nov 6, 2024 · 0 comments

Comments

@drumm
Copy link

drumm commented Nov 6, 2024

Reported at https://www.drupal.org/project/infrastructure/issues/3477553#comment-15846839:

I also had problems with installation and now get out of memory errors when running composer up in both ddev and on my MacOS host.
PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/vendor/php-tuf/php-tuf/src/CanonicalJsonTrait.php on line 46

1.6MB is not a high memory limit. Whatever is usually necessary would be good to have in a friendly error message before getting to a fatal error.

If there are opportunities to reduce memory use, that is good to implement, too.

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

No branches or pull requests

1 participant