Re: Memory leak when rolling back from IntegrityErrors?

"Harald Armin Massa" <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
Just confirming: it leaks on windows, too.

> I'm encountering what appears to be a memory leak when rolling >back from IntegrityErrors. Attached is a small test script that >reproduces the

+snip from the script
cursor.executemany(insert, rows)
[...]
connection.rollback()

there seems to be kept a reference on rows, forbidding to GC them...

Harald



-- 
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607
fx 01212-5-13695179
-
EuroPython 2008 will take place in Vilnius, Lithuania - Stay tuned!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.