On 1/8/2015 10:05 AM, Mike Hoye wrote:
I'm revisiting our docs in light of this to figure out what our real minimum hardware/ram/disk requirements are. The temptation to start adding "If you try to build Firefox with 2 gigs of RAM, you're gonna have a bad time" memes to the docs is severe.

One of my machines is a 2-core, 2GB machine. I've built Firefox on it somewhat recently (~months), but that is without optimization or debug symbols. IIRC, it failed to build in debug + debug symbols, but that was last tried before we supported debug symbol fission or unified file compilation. Note that buildable doesn't mean convenient--if you do something else while building, such as have a web browser open, you will meet the OOM killer. This suggests that 2GB of RAM is the absolute minimum requirement for building.

In practice, if you're building infrequently (say, provisioning a VM for Windows or Linux for occasional builds, not primary development), then 4 cores and 4GB of RAM appear to suffice (I've used 4GB for a Linux VM on my laptop and 8GB for a Windows VM on my desktop). For primary development that involves frequent invocation of mach build binaries, 8GB of RAM or more would be recommended.

--
Joshua Cranmer
Thunderbird and DXR developer
Source code archæologist

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to