[serialization] building fails on OS X...

Hi, I have tried a few times recently to build Boost from CVS under OS X on machine with 2 GB of memory. Unfortunately building fails at the following point: darwin-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/darwin/ release/xml_wgrammar.o virtual memory exhausted: Cannot allocate memory Has anyone else run into this problem? ron

On Sep 10, 2004, at 5:28 PM, Ronald Garcia wrote:
Hi,
I have tried a few times recently to build Boost from CVS under OS X on machine with 2 GB of memory. Unfortunately building fails at the following point:
darwin-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/darwin/ release/xml_wgrammar.o virtual memory exhausted: Cannot allocate memory
Has anyone else run into this problem?
Yes, I've seen this problem before and not only with the serialization library. Also other template-rich programs, e.g. using the BGL library need enormous amounts of memory when being compiled with optimization turned on and Apple's version of gcc-3.3 . My guess is that some of the Apple modifications lead to a huge memory bloat when optimizing some template code, as I've not seen this problem with the standard version of gcc-3.3. Matthias
participants (2)
-
Matthias Troyer
-
Ronald Garcia