Re: Compiling and running 32-bit Python on 64-bit server?

2010-02-25 Thread Aahz
In article d5f0a586-6548-4f25-92ab-e723b6313...@q29g2000yqn.googlegroups.com, Mikko Ohtamaa mi...@redinnovation.com wrote: How one could create 32-bit Python run-time enviroment, preferable virtualenv, on 64-bit Linux (VPS), reducing memory usage? This environment could actually beat 64-bit in

Compiling and running 32-bit Python on 64-bit server?

2010-02-20 Thread Mikko Ohtamaa
Hi, Some server-side Python applications are limited by memory usage (hint: Zope), because Python effective uses processes and not threads for multiprocessing. This is especially true for 64-bit platforms, since Python programs are all about references and objects and 64-bit effectively doubles

Re: Compiling and running 32-bit Python on 64-bit server?

2010-02-20 Thread Martin v. Loewis
How one could create 32-bit Python run-time enviroment, preferable virtualenv, on 64-bit Linux (VPS), reducing memory usage? I'd install a 32-bit Linux on the hardware, and install a bigmem kernel if it has more than 3GB of main memory. I assume this involves having lib32 libs and compiling