VISIONAI / clouddream

Deepdreaming in the clouds: A Dockerized deepdream Guide
370 stars 62 forks source link

Consider adding instructions on how to increase boot2docker memory limit #25

Open ghost opened 9 years ago

ghost commented 9 years ago

I'm familiar with docker, but not boot2docker on OSX, and it took me quite a while to figure out how to increase the VM's memory size. You reference that it might be necessary to up the RAM for processing of larger images, so it would be helpful to have a quick link on how to change the configuration to match.

I followed the instructions here: https://docs.docker.com/articles/b2d_volume_resize/

Specifically,

  1. Initialise a default file to customize boot2docker config > ~/.boot2docker/profile command.
  2. Edit the file and change from 2 Gig to 6 Gig Memory = 2048 to Memory = 6144
  3. Run the following commands:
$ boot2docker poweroff
$ boot2docker destroy
$ boot2docker init
$ boot2docker up
jontonsoup commented 9 years ago

@ihaventkilledanybodysince1984 did this fix your memory issues?

I'm having memory issues after increasing my VM to 10g. It seems like I cant make images over 1000 px.

ghost commented 9 years ago

Yeah, it fixed my issues. I think I upped mine to 8G, and could do 1600X1800 pictures, IIRC.