From: | Alexander Jerusalem <ajeru(at)gmx(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: postgres memory management |
Date: | 2001-01-21 21:27:45 |
Message-ID: | 4.3.2.7.0.20010121221157.00ba7780@pop.gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-jdbc |
Neil, thank you for your answer,
I thought about that possibility and it is possible since that computer has
512 MB RAM. But when I start and stop other programs like emacs the memory
is freed as soon as I stop them. As to KDE: I'm not concerned about a lack
of memory in general but I'm about to deploy an application on a server
that I hope will be running for a long time without me having to restart it
every two days because of a memory leak in some software. Anyway, I hope
you're right, I'll just try it :-)
thanks,
Alexander Jerusalem
ajeru(at)gmx(dot)net
vknn
At 18:49 21.01.01, Neil Conway wrote:
>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(at)home(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2001-01-21 21:48:31 | Re: creating groups (and list archives broken?) |
Previous Message | Nic Ferrier | 2001-01-21 21:20:36 | creating groups (and list archives broken?) |
From | Date | Subject | |
---|---|---|---|
Next Message | Marko Kreen | 2001-01-21 22:28:22 | update to contrib/pgcrypto |
Previous Message | The Hermit Hacker | 2001-01-21 18:52:45 | Tangent ... For those that like stats ... |
From | Date | Subject | |
---|---|---|---|
Next Message | Steve Leibel | 2001-01-22 03:33:02 | 'enum' equivalent? |
Previous Message | Tom Lane | 2001-01-21 18:39:22 | Re: ODBC gives pq_recvbuf: unexpected EOF on client connection |