[ZODB-Dev] Please help with memory leak: ZODB

John D. Heintz jheintz@isogen.com
Wed, 9 May 2001 16:04:36 -0500


--------------Boundary-00=_OJ63RFR4OGFNVZ10X4MC
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Please someone run the attached test.py file and help me figure out why it 
keeps eating up ram.

The test code roughly simulates how we are using the ZODB through omniORB 
CORBA and we are experiencing this kind of memory behavior there as well.

Thanks for any help!
John

ps - yes, this is nearly the same code as what I thought was a cPersistence.c 
bug the other day.  

pps - This code relies on StandaloneZODB with one mod: ZODB/__init__.py needs 
the last line deleted because is creates Transaction objects itself and 
replaces the global get_transaction() function.



-- 
. . . . . . . . . . . . . . . . . . . . . . . .

John D. Heintz | Senior Engineer

1016 La Posada Dr. | Suite 240 | Austin TX 78752
T 512.633.1198 | jheintz@isogen.com

w w w . d a t a c h a n n e l . c o m

--------------Boundary-00=_OJ63RFR4OGFNVZ10X4MC
Content-Type: application/x-zip;
  charset="iso-8859-1";
  name="memory-leak.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="memory-leak.zip"

UEsDBBQAAAAIAPV9qSrOlNKtqQEAACQHAAALABUAcGVyX2RhdGEucHlVVAkAA+6s+TrzrPk6VXgE
AOgD6APtVLFuwyAQ3f0VSFmwZPkDImVIUnVrWqlbq8oi5JxYwWABVRtV/feCwcYmUdJU7dYbbA64
x927B1XdCKnR0/3NIimlqNEDSFUpDZwCqtxiP6WTZAMlMgOQOJ0myJiWBzewNtmCXgq5Jo+gVCU4
TnMzU1DBOVDtJtSBU5z2IQ1RqnXgnUKjp6MFNGndhDLr3AqBQy7+fJtQUVS80kWBFbAyDRDWzddE
ohlaCQ7JIIASxooa9E5sfFyGnOv+c7lVM5xmaP9217kfnwPsUd3WJOhXydFJBkzmS8E1qbglLidN
ww7FTog99meOkH5mXda/gRWKDo2K+2PN19zWg2P6shFMz70CvSDSU26aM+DUC+tU/8w3QGwDxJlo
n1wHkngV2cjLKsoQJzXEWrJ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