Skip to content

Improve handling of memory #127

@drumm

Description

@drumm

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.6GB 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions