Received: from smtp010.mail.yahoo.com (smtp010.mail.yahoo.com [216.136.173.30]) by postgresql.org (8.11.3/8.11.1) with SMTP id f730KXf66191 for ; Thu, 2 Aug 2001 20:20:33 -0400 (EDT) (envelope-from chrup999@yahoo.com) Received: from chill-025.bbnow.net (HELO ?192.168.0.4?) (24.219.2.25) by smtp.mail.vip.sc5.yahoo.com with SMTP; 3 Aug 2001 00:20:30 -0000 X-Apparently-From: User-Agent: Microsoft-Entourage/9.0.1.3108 Date: Thu, 02 Aug 2001 19:20:24 -0500 Subject: Re: Memory exhausted errors From: Chris Ruprecht To: Tom Lane , Message-ID: In-Reply-To: <14126.996788653@sss.pgh.pa.us> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Archive-Number: 200108/9 X-Sequence-Number: 1940 Tom, 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? It's not a major issue (any more) - I can live with the system as it is, even if I load 500'000 records in the future, per client, per day, this will be workable. Bruce said something about 'a few months' until 7.2 will become available. Well, I think I can wait that long. And I guess, I should express my support and actually buy a CD and Bruce's book. Tom, write a book, and Buy that, too. ;-). Best regards, Chris on 08/02/2001 16:44, Tom Lane at tgl@sss.pgh.pa.us wrote: > "Chris Ruprecht" writes: >> on a daily basis, I load records from an external source into my database. = [snip] > function will be freed when it exits, so that should hold down the > leakage to a tolerable level. > > regards, tom lane _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com