[Zope-dev] Flush memory from product

de ZORZI Frederic fredz@pimentech.net
Wed, 20 Mar 2002 19:23:54 +0100


de ZORZI Frederic wrote:
> Hello zopers, I'm writing a product with a relational database mapping.
> When I launch loading procedures, the product creates ~ 50000 instances. 
> I regulary do a get_transaction().commit(), but memory still increase 
> constantly (more than 300 megs for python processes)
> 
> How can I flush memory ?
> 
> Tested with :
> gnu/linux debian potato, zope 2.3.3
> gnu/linux debian woody, zope 2.5.0
> 

Oops; in fact, after the loading process, even with flush cache from the 
control panel, python process still take 320M of memory (20M after zope 
restart).
Any idea ?