Re: postgres memory management - Mailing list pgsql-general

From Neil Conway
Subject Re: postgres memory management
Date
Msg-id 20010121124949.A12967@klamath.dyndns.org
Whole thread Raw
In response to postgres memory management  (Alexander Jerusalem <ajeru@gmx.net>)
Responses Re: postgres memory management
List pgsql-general
On Sun, Jan 21, 2001 at 01:18:54PM +0100, Alexander Jerusalem wrote:
> When the database connection is closed, no memory is reclaimed, the overall
> memory usage stays the same. And when I close down all postgresql processes
> including postmaster, it's the same.
> I'm rather new to Linux and postgresql so I'm not sure if I should call
> this a memory leak :-)

How much memory is being used? Do you ever go into swap? If not,
what's probably happening is Linux is using free memory to cache data
like I/O. Linux should automatically release this memory if it's
needed by a process. So as long as you have some free memory, I'd
say don't worry about it -- but if you start going into swap and
this memory isn't released, then you might have a problem.

BTW, you're using 'ktop', the KDE front end to 'top'? If you're
concerned about memory usage, I'd definately recommend not running
KDE, X, or any other GUI stuff.

HTH,

Neil

--
Neil Conway <neilconway@home.com>
Get my GnuPG key from: http://klamath.dyndns.org/mykey.asc
Encrypted mail welcomed

Violence is to dictatorship as propaganda is to democracy.
        -- Noam Chomsky

pgsql-general by date:

Previous
From: "J.H.M. Dassen (Ray)"
Date:
Subject: Re: postgres memory management
Next
From: Tom Lane
Date:
Subject: Re: ACS Web Server & PostgreSQL