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.
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.
You do make a good point about the extra cruft that isn't needed for a VM. I should actually know this as I have several LEBs on the web and optimize them highly for low memory usage. I guess personal time < work time.
Going from 4GB to 8GB on my mbp made a huge difference running VMs. Also, get Fusion. For working in VMs all day Fusion has worked better for me over VirtualBox.
Asked and answered. I like VirtualBox - the price is right for when I just need to run an app or two on rare occasion - but it certainly isn't the most stable or least OS-crashing VM I've ever used.
More RAM would certainly help, more CPU cores (real cores, not hyper-threaded "virtual" cores) will too.
I have yet to try 10.7 stuck on 10.6 until the boss allows us to upgrade. This will probably be my next big upgrade before anything else.