Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Jul 12, 2015 · 2 comments
Open

Comments

@ghost
Copy link

ghost commented Jul 12, 2015

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
Copy link

@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
Copy link
Author

ghost commented Aug 16, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant