pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kathy Lo <kathy.lo.ky@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Memory Leakage Problem
Date: Tue, 06 Dec 2005 09:45:59 -0500
Message-ID: <29916.1133880359@sss.pgh.pa.us> (raw)
In-Reply-To: <c10e7feb0512060122u33a9c8eakb178525f3834b00@mail.gmail.com>
References: <c10e7feb0512060122u33a9c8eakb178525f3834b00@mail.gmail.com>

Kathy Lo <kathy.lo.ky@gmail.com> writes:
> I found that the memory of the databaser server nearly used up (total 2G RAM).
> After I stop the program, the used memory did not free.

I see no particular reason to believe that you are describing an actual
memory leak.  More likely, you are just seeing the kernel's normal
behavior of eating up unused memory for disk cache space.

Repeat after me: zero free memory is the normal and desirable condition
on Unix-like systems.

			regards, tom lane



view thread (22+ messages)  latest in thread

Message-ID: <29916.1133880359@sss.pgh.pa.us>
Permalink:  ../29916.1133880359@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29916.1133880359@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, kathy.lo.ky@gmail.com
  Subject: Re: Memory Leakage Problem
  In-Reply-To: <29916.1133880359@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox