3 ms·
From yesterday: I compile a large C++ code base in work, and a full rebuild takes about 15 minutes on my 40 core, 32GB ram desktop, and uses almost 20GB of RAM
by maccard 12y ago
From yesterday: I compile a large C++ code base in work, and a full rebuild takes about 15 minutes on my 40 core, 32GB ram desktop, and uses almost 20GB of RAM while doing so.
- pja 12y agoI think it’s fair to say that your use case lies outside the current performance envelope available in laptop form :)
- maccard 12y agoabsolutely, but the parent didn't specify people using laptops.
- grayfox 12y agoThat's... intense. An extreme case, for sure. You likely would be remoting into this machine to compile this work, in any scenario involving you working on a mobile device. With that being said, 16GB would preclude you, too. Like the fellow above, still genuinely curious how 8GB is repelling a significant amount of people for a development machine. A pixel2 with 8GB is a rocket ship, for my general full-stackery and system administrationating purposes.
- maccard 12y ago> still genuinely curious how 8GB is repelling a significant amount of people for a development machine. If I'm only remoting into the machine, then it doesn't count as a development machine. I could remote in from a machine running a P4 with 512MB ram by that logic.
- kbenson 12y agoYeah, but you may do different kinds of development. Your work C++ dev may not use the same system resources as some side project (which you may not want to use the work machine for anyways). Additionally, the hi-res screen could be useful.
- josteink 12y agoInteresting. I'm working on a multi-gigabyte mixed codebase (c#, c++, etc) on a 32gb workstation. I've never managed to exceed 10-ish GBs memory usage when you exclude OS caches, which strictly aren't needed to complete the build.
- maccard 12y agoUsing the visual studio compiler, the build tool we use spawns many instances of VC.exe, (up to 40) and they have a tendency to allocate about 2GB each. Normally, we only use 10-15 of the cores, but a full build will be all 40, and has began to crash the compiler.