X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1B75252B2E for ; Wed, 13 Jul 2005 07:30:22 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 86156-07 for ; Wed, 13 Jul 2005 10:30:20 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id A38A452B2B for ; Wed, 13 Jul 2005 07:30:19 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.21]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DseVN-0006sF-2Q; Wed, 13 Jul 2005 22:30:17 +1200 Message-ID: <42D4ED39.8060506@opencloud.com> Date: Wed, 13 Jul 2005 10:30:17 +0000 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Csaba Nagy Cc: Dave Cramer , Postgres JDBC Subject: Re: out of memory error on a delete command References: <1121165003.3085.165.camel@coppola.muc.ecircle.de> <9284674D-C33E-44BE-98F6-1B939AB143D2@fastcrypt.com> <1121244636.3085.187.camel@coppola.muc.ecircle.de> In-Reply-To: <1121244636.3085.187.camel@coppola.muc.ecircle.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/59 X-Sequence-Number: 13207 Csaba Nagy wrote: > OK, that might very well be a reason... is there a way to see what were > the error messages ? Are they accumulating at server side or on the JDBC > side ? If it's the JDBC side, is it reasonable maybe to just discard > error messages if they are too many, or truncate if it's too big, in > order to avoid this exception (which is not very helpful in itself...) ? I think Dave actually means "too many warnings" (or NOTICEs?) which can indeed fill Java heap as they're accumulated as SQLWarnings attached to the relevant Statement. In that case, though, you'd see an OutOfMemoryError. This exception: >>>org.postgresql.util.PSQLException: ERROR: out of memory is just the driver reporting a server-side error, so it's the server that's run out of memory in this case. -O