[PyGreSQL] Memory leak, please help me see what I am doing wrong.

Christoph Zwerschke cito at online.de
Thu Feb 4 20:11:07 EST 2010


Am 04.02.2010 22:57 schrieb Ma Chenwei:
> I have a few daemons written in python, which access a postgres
> database constantly. As I was hunting for leaks I found what the way I
> create and close the database connection is creating some leaks. I got
> it down to a test loop to demonstrate the problem:

Thanks for reporting this, but so far I can't reproduce it.

Which operating system? How do you measure the memory usage? Are you 
talking about the memory of the Python process or about PostgreSQL?

-- Christoph


More information about the PyGreSQL mailing list