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

Ma Chenwei machenwei at gmail.com
Fri Feb 5 14:20:11 EST 2010


Hi, thank you for responding. I am running CentOS 5.4. I was looking
at top output of the python process, RES column. It grows by 4 every
50 to 100 cycles or so. Am I monitoring the right thing?

Thank you very much!



On Thu, Feb 4, 2010 at 5:11 PM, Christoph Zwerschke <cito at online.de> wrote:
> 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
> _______________________________________________
> PyGreSQL mailing list
> PyGreSQL at Vex.Net
> http://mailman.vex.net/mailman/listinfo/pygresql
>


More information about the PyGreSQL mailing list