15 Mar
2008
15 Mar
'08
9:24 a.m.
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