Re: BUG #4996: postgres.exe memory consumption keeps going up - Mailing list pgsql-bugs

From Greg Stark
Subject Re: BUG #4996: postgres.exe memory consumption keeps going up
Date
Msg-id 407d949e0908222142l22368c60g7d56f7865e6aaa2f@mail.gmail.com
Whole thread Raw
In response to Re: BUG #4996: postgres.exe memory consumption keeps going up  (Craig Ringer <craig@postnewspapers.com.au>)
Responses Re: BUG #4996: postgres.exe memory consumption keeps going up  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-bugs
On Sun, Aug 23, 2009 at 4:48 AM, Craig
Ringer<craig@postnewspapers.com.au> wrote:
> Interestingly, though, the test program does appear to be leaking - at
> least, the peak working set slowly climbs. It's all private working set. Not
> sure why yet since the memory use looks like it _should_ be constant.

How does the return value of str() get cleaned up here?

                PGresult* res=PQexec(conn,insert.str().c_str());



--
greg
http://mit.edu/~gsstark/resume.pdf

pgsql-bugs by date:

Previous
From: Craig Ringer
Date:
Subject: Re: BUG #4996: postgres.exe memory consumption keeps going up
Next
From: Radoslaw Zielinski
Date:
Subject: Re: 8.4.0 data loss / HOT-related bug