Re: Memory leak when rolling back from IntegrityErrors?

Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Organization initd.org
Message-ID <[email protected]>
Il giorno sab, 17/05/2008 alle 15.29 -0400, Joe ha scritto:
> I'm encountering what appears to be a memory leak when rolling back from 
> IntegrityErrors. Attached is a small test script that reproduces the 
> problem. Use 'top' or similar to monitor the script's memory usage. It 
> should increase very quickly when run with the 'leak' argument.

There was a bug in executemany. It is now fixed in bzr trunk.

Thank you very much for the report,

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                [email protected]
INIT.D Developer                                           fog-NGVKUo/i/[email protected]
           Purtroppo i creazionisti non si sono ancora estinti. -- vodka

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBIMTdOvcCgrgZGjesRAnKRAKCSeKxStbzFRs1VUhd2Ai3AL34FhACfXVwj
YR1dIUky9LKxdQRTeRF3UkA=
=vi1p
-----END PGP SIGNATURE-----
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.