X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7439B4764FB for ; Thu, 30 Jan 2003 22:46:46 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 040F8476082 for ; Thu, 30 Jan 2003 22:46:45 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id 3688E43A670; Thu, 30 Jan 2003 22:45:21 -0500 (EST) From: "Girish" X-Newsgroups: comp.databases.postgresql.admin References: Subject: Re: Memory Leaks/Problems Lines: 37 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-Complaints-To: abuse@prodigy.net Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: SCSYQN_@OXWAB_LX]BI@_V\ATZ^FBL@MAHU^_BAMEH]TCDYG^WHC@EK[WDXJHVKHGFFIZHBL@FX\NIOC@FWYNV\DMNS[HTLIXX\^BUGBXLR@PB@\FKCLXSWAIDFOKG^MFT[GZN^NWY_GVLSRGDYY^AW_MS_RW][KBYZMADO@Y[ABPSPE_TA@LTLFXVTC@RJM Date: Sat, 25 Jan 2003 01:26:06 GMT To: pgsql-admin@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/15 X-Sequence-Number: 7213 The sql statement is select count(*) from table. Forgot the count! :) Girish "Girish" wrote in message news:awlY9.4$8A2.3628166@newssvr12.news.prodigy.com... > Hello All, > > Ive recently installed postgres 7.3.1 on a Linux Box (Red Hat 8.0). Im > experiencing high memory usage by postgres.... heres what happens. > > I have a table in the database that has approximately 80,000 rows. I get > into psql on the command prompt and type in a simple select (*) from table; > > What happens next is that my memory (150M free) shoots down directly to > about 5M free! So I was assuming that postgres is taking up all that memory > for its buffers etc. > > Heres the catch - now when i exit pgsql - I see no memory being freed up! > Even when I shut down the database my memory is not freed up! I have about > 145 megs of memory just chewed by by postgres which has not been released > even after a database shutdown... I have to restart my machine to get back > all the memory... > > has anyone else seen this problem? > > Thanks, > Girish > > >