Page MenuHomeDevCentral

Ensure enough memory for Composer
ClosedPublic

Authored by dereckson on Oct 12 2020, 05:18.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 09:15
Unknown Object (File)
Sat, Oct 26, 12:47
Unknown Object (File)
Oct 20 2024, 09:42
Unknown Object (File)
Oct 14 2024, 18:26
Unknown Object (File)
Oct 11 2024, 09:12
Unknown Object (File)
Oct 11 2024, 09:12
Unknown Object (File)
Oct 11 2024, 09:11
Unknown Object (File)
Oct 11 2024, 08:51
Subscribers
None

Details

Summary

Resolve a composer.json for an old Laravel 5.2 code base now consumes
1.8 GiB of RAM.

It seems reasonable to allow this container specialized to run PHP
CLI applications to let the application to consume 2 GiB of RAM.

Fixes T1638.

Test Plan

composer install

Diff Detail

Repository
rDPHPCLI nasqueron/php-cli Docker image
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
zenerre
$ php -r "echo ini_get('memory_limit').PHP_EOL;"
2G
$ composer install
...
Writing lock file
Generating autoload files
...

Worked. Composer consumed at peak 1.8 GiB RAM watching docker stats zenerre.

This revision is now accepted and ready to land.Oct 12 2020, 05:26
This revision was automatically updated to reflect the committed changes.