4 ms·
isn't 16GB enough to run an extra VM for dev? also, try docker.
by patrickaljord 13y ago
isn't 16GB enough to run an extra VM for dev? also, try docker.
- aktau 13y agoNot when most of that 16GB is in use. At the moment, chrome is using up 3.4GB. Yea, I have a lot of tabs open. Yes, I should work on that. Yes, I'd also like being able to open that many tabs and have my browser perhaps release some of that memory and just reclaim it when I open the tab for reading again. Docker is real nice, although I might go for pure LXC the nex time I build something. But I'm developing on OSX (as many of us, I believe). So _not_ running a VM is not really possible here. I deploy on Linux, and like to have my environment very consistent, hence the VM. Granted, with Docker/LXC I could probably get by with just one VM and a lot of little apps running side-by-side, but that's not how my current setup and projects work, yet. At any rate, less memory used by browser is more memory for me, to use any way I want. I already love the firefox behaviour that when it restores your tabs, it doesn't actually load them until you click on them. Awesome startup speed improvement.
- gamache 13y agoI'd also like being able to open that many tabs and have my browser perhaps release some of that memory and just reclaim it when I open the tab for reading again. Chromebooks do a great job of this -- inactive tabs are often freed when memory is needed elsewhere, and reloaded as necessary. I wonder if that feature is going to come to Chrome outside of ChromeOS.
- jordanthoms 13y agoThat's also done on Chrome for Android.
- staktrace 13y agoAnd Firefox for Android.
- darkarmani 13y agoDid docker add Windows and Darwin support already? Wow, they are really moving fast.
- darkarmani 13y agoThe joke being that Docker requires LXC and aufs, which means you are stuck running Ubuntu for now. Fedora is soon going to announce Docker support when 0.7 is released. For now if you want to run docker on your Mac, the best bet is to use Vagrant + virtualbox (or fusion if you have the provider). This means you have to run another VM to run docker which defeats the purpose of the suggestion of running Docker, so you don't have to run another VM instance.
- outworlder 13y agoYes. But then, you can run a single VM with any number of Docker containers inside. Depending on what you are doing, that could be a win.
- ritonlajoie 13y agoif you are running one docker per VM, you are probably doing something wrong :)