#33256: Disable SMP compilation for Pypy translation (on 10.6) ---------------------------------------+------------------------------------ Reporter: macports.org@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: pypy ---------------------------------------+------------------------------------ Yesterday and today I tried updating my pypy 1.7 to 1.8, on a 2010 MBP with 8GB RAM. In both cases, the machine got swapped to death. The second time around I looked into what was happening, and I observed the driver Python process using ~2.5GB RAM (real memory) and 4 CC processes using 1~1.5GB RAM each. While using multiple jobs is good when the translation is CPU bound, forcing the machine to do everything on-disk because everything gets swapped out is not. I looked into it more, and apparently I'm hitting [https://bugs.launchpad.net/ubuntu/+source/gcc-4.2/+bug/187391 a wontfixed GCC 4.2 bug] which makes GCC eat insane amounts of memory when `-O1` or more is enabled. This may not be an issue in Lion depending on its GCC version. As a result, I think forcing `--make-jobs` to `1` (or removing SMP compilation altogether) in 10.6 would be a good idea. -- Ticket URL: <https://trac.macports.org/ticket/33256> MacPorts <http://www.macports.org/> Ports system for Mac OS