witten
24-03-2006 07:30:51
I'm on a Debian Linux machine with 256 mb of ram and 256 mb swap. When trying to build PyOgre with setup.py, the build runs for nearly 24 hours, filling up all available memory and at times most of the swap space. This involves constant swapping, with kswapd often taken most of the CPU while the build process just waits for pages to be swapped in or out. Eventually the build is killed by the kernel when the system completely runs out of memory (ram + swap). Adding more swap would probably prevent the build from being killed, but who knows how long it would actually take.
So my question is this: Does anyone know of a way to reduce the memory usage of swig 1.3.28 when building PyOgre, or does anyone know where I can download a prebuilt PyOgre _ogre.so binary for Linux?
I have searched the forums a bit, and while there were others with similar memory usage problems, none of the solutions proposed seem to help in this case.
So my question is this: Does anyone know of a way to reduce the memory usage of swig 1.3.28 when building PyOgre, or does anyone know where I can download a prebuilt PyOgre _ogre.so binary for Linux?
I have searched the forums a bit, and while there were others with similar memory usage problems, none of the solutions proposed seem to help in this case.