X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 229FA9FB421 for ; Thu, 31 Aug 2006 15:11:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 28076-07-2 for ; Thu, 31 Aug 2006 15:11:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (Postfix) with SMTP id DFB1B9FB415 for ; Thu, 31 Aug 2006 15:11:05 -0300 (ADT) Received: (qmail 5314 invoked from network); 31 Aug 2006 18:11:05 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 31 Aug 2006 18:11:05 -0000 In-Reply-To: <21864.1157046887@sss.pgh.pa.us> References: <20060831095135.4292E9D7@dm17.mta.everyone.net> <21864.1157046887@sss.pgh.pa.us> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7F1AB951-EF24-427A-A282-22684E520CA1@fastcrypt.com> Cc: "Indika Maligaspe" , pgsql-performance@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Postgress memory leak with JBoss3.2.6 and large DB Date: Thu, 31 Aug 2006 14:11:03 -0400 To: Tom Lane X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.044 tagged_above=0 required=5 tests=AWL, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/495 X-Sequence-Number: 20680 On 31-Aug-06, at 1:54 PM, Tom Lane wrote: > "Indika Maligaspe" writes: >> The problem is when we are querying a specific set of table (which >> all >> tables having over 100K of rows), the Postgres user process takes >> over or >> close 700MB of memory. This is just to return 3000 odd rows. Even >> though we >> have lot of data we still do not have that much to eat up this >> much of >> memory. > > Playing with server-side settings won't have the slightest effect on a > client-side problem. I'd suggest asking about this on the pgsql-jdbc > list; they are more likely to have useful suggestions than backend > hackers will. What is the query here. I doubt this is a client side problem, as we are still looking at the server side processes, not the java processes here. Also your memory settings are *way* too low Dave > > regards, tom lane > > ---------------------------(end of > broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that > your > message can get through to the mailing list cleanly >