Page MenuHomeDevCentral

Ensure enough memory for Composer
ClosedPublic

Authored by dereckson on Oct 12 2020, 05:18.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 07:07
Unknown Object (File)
Mon, Dec 9, 12:04
Unknown Object (File)
Mon, Dec 9, 11:14
Unknown Object (File)
Sun, Dec 8, 22:22
Unknown Object (File)
Sat, Dec 7, 08:27
Unknown Object (File)
Sat, Dec 7, 08:15
Unknown Object (File)
Tue, Dec 3, 11:28
Unknown Object (File)
Sun, Dec 1, 17:04
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.