Page MenuHomeDevCentral

Ensure enough memory for Composer
ClosedPublic

Authored by dereckson on Oct 12 2020, 05:18.
Tags
None
Referenced Files
F2743593: D2367.id5956.diff
Thu, Mar 28, 10:43
F2743587: D2367.id5957.diff
Thu, Mar 28, 10:40
F2742087: D2367.id5956.diff
Thu, Mar 28, 03:37
F2741729: D2367.id5957.diff
Thu, Mar 28, 02:00
Unknown Object (File)
Tue, Mar 26, 08:29
Unknown Object (File)
Tue, Mar 26, 08:29
Unknown Object (File)
Sat, Mar 23, 12:36
Unknown Object (File)
Sat, Mar 23, 00:00
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
No Lint Coverage
Unit
No Test Coverage
Branch
master
Build Status
Buildable 3674
Build 3924: arc lint + arc unit

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.