Boost logo

Boost :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2004-09-10 16:55:26


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk