Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (8.11.3/8.11.1) with SMTP id f5PJtWa11135 for ; Mon, 25 Jun 2001 15:55:32 -0400 (EDT) (envelope-from Dave@micro-automation.net) Received: (qmail 4624 invoked from network); 25 Jun 2001 19:55:27 -0000 Received: from eboxwest.ebox.com (HELO INSPIRON) (206.51.23.194) by net2.micro-automation.com with SMTP; 25 Jun 2001 19:55:27 -0000 Reply-To: From: "Dave Cramer" To: "'Bruce Momjian'" , "'Barry Lind'" Cc: "'PostgreSQL jdbc list'" Subject: RE: RE: [ADMIN] High memory usage [PATCH] Date: Mon, 25 Jun 2001 15:53:35 -0400 Organization: Micro Automation Inc. Message-ID: <000a01c0fdb0$8512d810$0201a8c0@INSPIRON> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <200106251849.f5PInvN16677@candle.pha.pa.us> X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Archive-Number: 200106/93 X-Sequence-Number: 834 Bruce, Barry, How about checking for the existence of the date object in the constructor? This would mean that it would only be created once per thread. Dave -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Bruce Momjian Sent: June 25, 2001 2:50 PM To: Barry Lind Cc: Dave@micro-automation.net; 'PostgreSQL jdbc list' Subject: Re: [JDBC] RE: [ADMIN] High memory usage [PATCH] > Bruce, > > I don't think you need to back out Dave's patch. It works fine as it > is. I just think it can be improved upon. OK, you just let me know. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026 ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)