You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.
First off: many thanks for this great piece of software! I wanted to leave my experience with an issue here and suggest that perhaps you could change the docs on the issue that I've encountered today?
The out of the box install of Ubuntu 16 and PHP7 works beautifully. But when I try to change the php version to 5.6 as per the instructions: http://docs.drupalvm.com/en/latest/other/php-56/ the vagrant up fails on TASK [Generate Drupal project with composer package.]
With error message:
Installing drupal-composer/drupal-scaffold (2.1.0) Loading from cache
The following exception is caused by a lack of memory or swap, or not having swap configured
Check https://getcomposer.org/doc/articles/troubleshooting.md#proc
-open-fork-failed-errors for details PHP Warning: proc_open(): fork failed -
Cannot allocate memory in phar:///usr/bin/composer/vendor/symfony/console/Appli
cation.php on line 957 proc_open(): fork failed - Cannot allocate memory
What fixed it for me was the suggestion by Jeff in #547 to increase vagrant_memory in your config.yml. I've set it to 2048 and now the vagrant up succeeds.
I think it's high time to bump the default memory usage—almost all devs I've talked to have 4GB+ on their laptops, and most have 8. If you don't, Drupal VM (even with it's saner defaults) can be a bit too much. Add in Solr, Varnish, etc., and things get pretty tight with only 1024 MB!
Hi,
First off: many thanks for this great piece of software! I wanted to leave my experience with an issue here and suggest that perhaps you could change the docs on the issue that I've encountered today?
The out of the box install of Ubuntu 16 and PHP7 works beautifully. But when I try to change the php version to 5.6 as per the instructions: http://docs.drupalvm.com/en/latest/other/php-56/ the
vagrant up
fails onTASK [Generate Drupal project with composer package.]
With error message:
What fixed it for me was the suggestion by Jeff in #547 to increase
vagrant_memory
in yourconfig.yml
. I've set it to2048
and now thevagrant up
succeeds.Could you add this to the docs page? http://docs.drupalvm.com/en/latest/other/php-56/
That might save some people a lot of time and googling?
Best,
Bart
The text was updated successfully, but these errors were encountered: