[SciPy-dev] Splitting sparsetools_wrap source file ?

David Cournapeau david@ar.media.kyoto-u.ac...
Sat Mar 15 04:24:56 CDT 2008

Nathan Bell wrote:
> David, I came across this blog post which should address your problem:
> http://hostingfu.com/article/compiling-with-gcc-on-low-memory-vps
> I compiled sparsetools_wrap.cxx on with "g++ --param ggc-min-expand=10
> --param ggc-min-heapsize=8192" and memory usage peaked at 225MB (on a
> 32-bit machine).  Setting ggc-min-expand=0 takes ages (I threw in the
> towel at 20 minutes), so I don't recommend that setting :)
> Please let me know if the problem persists.
Thanks for those info, I was not aware it was possible to control the 
memory manager of gcc, that's pretty interesting. Unfortunately, it 
won't work with other C++ compilers, so I am afraid it cannot be used in 
our case.



More information about the Scipy-dev mailing list