Is there no compression support for large sized strings in Python?

Fredrik Lundh fredrik at pythonware.com
Thu Dec 1 10:42:08 EST 2005


Christophe wrote:

> > Did you consider the mmap library?
> > Perhaps it is possible to avoid to hold these big stings in memory.
> > BTW: AFAIK it is not possible in 32bit windows for an ordinary programm
> > to allocate more than 2 GB. That restriction comes from the jurrasic
> > MIPS-Processors, that reserved the upper 2 GB for the OS.
>
> As a matter of fact, it's Windows which reserved the upper 2 GB. There a
> simple setting to change that value so that you have 3 GB available and
> another setting which can even go as far as 3.5 GB available per process.

random raymond chen link:

http://blogs.msdn.com/oldnewthing/archive/2004/08/05/208908.aspx

</F>






More information about the Python-list mailing list