Page MenuHomeDevCentral

Ensure enough memory for Composer
ClosedPublic

Authored by dereckson on Mon, Oct 12, 05:18.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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.Mon, Oct 12, 05:26
This revision was automatically updated to reflect the committed changes.