[SciPy-dev] Splitting sparsetools_wrap source file ?

David Cournapeau david at ar.media.kyoto-u.ac.jp
Sat Mar 15 05:24:56 EDT 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.

cheers,

David




More information about the SciPy-Dev mailing list