ucdavis / sitefarm-distro-template

13 stars 9 forks source link

Composer runs out of memory when updating dependencies #26

Closed colinaut closed 4 years ago

colinaut commented 4 years ago

I am trying to set up a local Dev using Docksal and it runs out of memory during the composter install. Seems to be hitting the 2048M limit in the php.ini doc, even though the init commands has COMPOSER_MEMORY_LIMIT=-1 set. I tried to update the limit in the php.ini but that didn't work either as I just got a Killed message.

Is there a solution to this? Maybe any chance we can get an updated composer.json file that limits the constraints? If we could update some of the required packages to more recent ones it would limit the dependency search that composer needs to do and thus not eat up as much RAM.

colinaut commented 4 years ago

I was able to sort out installing as I figured out how to update the Docker memory limit