|
|
|
|
|
by silasb
5185 days ago
|
|
OT question for you: I'm a developer that does a lot of web development, from Perl to RoR. When I end up starting more than 1 VM with 4 GB RAM, my computer literally dies with Mac OS X. Now this is all with VirtualBox, which I suspect isn't the best all around VM application. For some reason I feel that it is the crappy memory management with OS X that is killing me. Other than getting more RAM do you do anything special? What VM software and how much RAM you running. |
|
Use tiny VMs. Most development stacks do actually fit in 512MB, as long as there is nothing else running. Pay attention about which parts of your dev stack do actually consume the memory. In my case, it's mostly in-memory databases. Sample those for smaller datasets, its good practice anyways. If its still not enough, use odd values like 700MB. Rule memory leaks out (this is one of the big advantages of small VMs: memory leaks are easy to find).
Also, use one VM per project. Unless projects are tiny, putting 2 in one VM only replicates the problems of your host-system.
Finally, I also use VirtualBox with Vagrant and am quite okay with it.