Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f5SCXKa91631 for ; Thu, 28 Jun 2001 08:33:20 -0400 (EDT) (envelope-from pgsql-jdbc-owner@postgresql.org) 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 f5MFMua35668 for ; Fri, 22 Jun 2001 11:22:56 -0400 (EDT) (envelope-from dave@fastcrypt.com) Received: (qmail 10091 invoked from network); 22 Jun 2001 15:22:48 -0000 Received: from eboxwest.ebox.com (HELO INSPIRON) (206.51.23.194) by net2.micro-automation.com with SMTP; 22 Jun 2001 15:22:48 -0000 Reply-To: From: "Dave Cramer" To: "'Michael Stephenson'" , "'PostgreSQL jdbc list'" Cc: "Bruce Momjian" Subject: RE: Re: Re: [ADMIN] High memory usage [PATCH] Date: Fri, 22 Jun 2001 11:20:54 -0400 Organization: Fastcrypt.com Message-ID: <000001c0fb2e$f12b7b80$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 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Archive-Number: 200106/151 X-Sequence-Number: 898 Yes, this is the correct approach, great advice! -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Michael Stephenson Sent: June 22, 2001 10:42 AM To: PostgreSQL jdbc list Subject: [JDBC] Re: Re: [ADMIN] High memory usage [PATCH] [snip] Wouldn't it be more elegant simply to make the ThreadLocal's static (as I'd have thought was probably the intention of the original author), this would remove the possiblity of any memory leaks in a single threaded environment, and have the same affect ultimately in a multithreaded environment? Michael Stephenson ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl