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

From Craig Ringer
Subject Re: BUG #4996: postgres.exe memory consumption keeps going up
Date
Msg-id 4A90AB7D.4030602@postnewspapers.com.au
Whole thread Raw
In response to BUG #4996: postgres.exe memory consumption keeps going up  ("Shivesh Wangrungvichaisri" <sbw@appsig.com>)
Responses Re: BUG #4996: postgres.exe memory consumption keeps going up  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-bugs
On 19/08/2009 11:50 PM, Shivesh Wangrungvichaisri wrote:

> Logged by:          Shivesh Wangrungvichaisri
> Email address:      sbw@appsig.com
> PostgreSQL version: 8.3.7
> Operating system:   Windows XP x64 / Windows 7 x64
> Description:        postgres.exe memory consumption keeps going up


>   - Example code that should demonstrate the problem:
> http://stackoverflow.com/questions/1280513/posgressql-memory-leaque (note we
> use Intel TBB to launch threads..you can use whatever thread library you
> want.)

I went to build your example for testing, but found that the threading
library you use isn't freely available. Any chance you can post a
version using the standard win32 threading calls and test that version
to make sure it still exhibits the problem?

(I do a little bit of programming on Windows, but all of it is
cross-platform code that sticks to POSIX APIs or uses the Qt library, so
I never have to touch the actual win32 bits and know very little about
things like win32's threading. As such, if I try converting it myself I
won't be confident I'm really accurately testing the same thing you are).

--
Craig Ringer

pgsql-bugs by date:

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