On Wed, 10 Sep 2003 00:18:52 -0400, Tom Lane <tgl@sss.pgh.pa.us>
wrote:
>I have a suspicion that there is no real leak, but
>rather we are seeing some artifact of the way Linux' top(1) reports
>memory usage.
From my experience I can confirm that. I have looked a lot at top
output when I benchmarked my heaptuple header changes last year. ISTM
Linux accounts a shared memory page (for whatever a page is) to the
memory usage of a process as soon as the process has touched that
page.
7.4 starts up with 1000 shared buffers by default, that is 8 MB of
shared memory. Add some space for FSM, connections and other shared
stuff, and 10 MB of shared memory is quite plausible. We've seen
nobody complaining that his backend got much bigger than 11 MB.
It's been more than a week since the OP posted his observation. If
his backend had grown to 100 MB after 24 hours, he would have told us
...
ServusManfred