[Psycopg] Memory leak when rolling back from IntegrityErrors?

Federico Di Gregorio fog at initd.org
Mon May 19 10:16:14 CEST 2008


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                                fog at debian.org
INIT.D Developer                                           fog at initd.org
           Purtroppo i creazionisti non si sono ancora estinti. -- vodka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio
	firmata digitalmente
Url : http://lists.initd.org/pipermail/psycopg/attachments/20080519/ba8ec0a8/attachment.pgp 


More information about the Psycopg mailing list