Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f730Y3f69902 for ; Thu, 2 Aug 2001 20:34:03 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id f730XwC14973; Thu, 2 Aug 2001 20:33:58 -0400 (EDT) To: Chris Ruprecht cc: pgsql-admin@postgresql.org Subject: Re: Memory exhausted errors In-reply-to: References: Comments: In-reply-to Chris Ruprecht message dated "Thu, 02 Aug 2001 19:20:24 -0500" Date: Thu, 02 Aug 2001 20:33:58 -0400 Message-ID: <14970.996798838@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200108/10 X-Sequence-Number: 1941 Chris Ruprecht writes: > Thank you so very much for your research! I have broken down the load > procedure into two parts and it's looking great. The run time is sort of > identical (about 3 minutes for today's file) but memory usage stays under 30 > MB instead of rising up to ... The old routine is busy running to compare > and it currently sits at 344 MB - major difference (377 MB now). I see a > very slight increase in the 'size' field (under top), about 128 KB every 4 > seconds which, maybe, could be attributed to some procedural overhead? Residual leakage within the outer procedure's for-loop, no doubt. As long as you can live with it until 7.2 comes out, I think you'll be okay. regards, tom lane