Re: limiting memory consumption of Python itself or a dict in a Python program

2007-09-20 Thread Jeremy Sanders
Jonas Maurus wrote: > I want to write a Python program that receives messages via SMTP and > stores them in a dict or an array. For my purposes it would be > important that all received mail would be kept in RAM and not cached > out to disk. If a new message comes in that can't fit in the allocate

Re: limiting memory consumption of Python itself or a dict in a Python program

2007-09-19 Thread Kay Schluehr
On 19 Sep., 22:48, Jonas Maurus <[EMAIL PROTECTED]> wrote: > Hello everybody, > > I'm pondering the following problem: > > I want to write a Python program that receives messages via SMTP and > stores them in a dict or an array. For my purposes it would be > important that all received mail would b

limiting memory consumption of Python itself or a dict in a Python program

2007-09-19 Thread Jonas Maurus
Hello everybody, I'm pondering the following problem: I want to write a Python program that receives messages via SMTP and stores them in a dict or an array. For my purposes it would be important that all received mail would be kept in RAM and not cached out to disk. If a new message comes in tha