On Fri, 5 Feb 2010 11:20:11 -0800
Ma Chenwei <[email protected]> wrote:
> 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?
That is the Python process alright. And you have certainly trimmed down
your test code to the absolute minimum. I tested with a slightly
smaller version.
import pg
while 1:
db = pg.connect()
db.close()
del db
The only difference is that I default to standard settings and my
default database named for my login. I also see no memory leak. The
only question I have is what do you mean by "50 to 100 cycles or so."
How long are you running this? Is ten minutes enough to see this
behaviour or do I need to run it for hours or days?
--
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql