I’ve moved to a new computer with Windows 10 and have installed docker toolbox. I’m finding I can’t run most composer commands because I get “killed”. My virtualbox has been allocated an astronomical 12 gb.
When I run free -m I get
total used free shared buff/cache available
Mem: 12090 261 11525 235 302 11402
Swap: 3916 0 3916
However when I run a really simple composer command like
composer require ‘drupal/video_embed_field:^2.0’
It spins for 5 or 10 mins and then says “killed”.
If I open another terminal window and run “docker stats” it shows that 2gb is the maximum memory (wtf?) and the command gets to about 98 or 99% of that and runs for quite some time and then the other window says “killed” and it returns to about 200kb used.
Why can’t docker toolbox use all 12gb? How can any simple composer command take over TWO GIGABYTES?? Unfortunately I left my mac at work so I can’t see if that also is limited to 2gb. Very frustrating, I’m at my wits end, I’ve been trying to run one of several simple composer commands for at least a day and a half and docker toolbox and composer simply will not work together.
edit: Note that “composer install” is one of the commands that seems to consistently work, but composer
remove and composer require commands bork every time. Thanks for your help!
edit2: Windows 10 home 64-bit, 16gb ram, 512gb ssd.