Received: from chekov.Belgium.eu.net (relay.eunet.be [192.92.130.25]) by hub.org (8.8.8/8.7.5) with ESMTP id FAA18282 for ; Thu, 9 Jul 1998 05:43:27 -0400 (EDT) Received: from (root@idialup282.brussels2.eunet.be [193.75.159.27]) by chekov.Belgium.eu.net with ESMTP id LAA16270 for ; Thu, 9 Jul 1998 11:42:36 +0200 (MET DST) Received: from aladdin (aladdin.nice.be [192.168.250.103]) by uni-box.nice.be (8.8.7/8.8.7) with SMTP id LAA05612 for ; Thu, 9 Jul 1998 11:37:30 +0200 Message-ID: <000301bdab1f$9b689460$67faa8c0@aladdin.nice.be> From: "Wim Ceulemans" To: Subject: java.lang.OutOfMemoryError Date: Thu, 9 Jul 1998 11:54:45 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Hi I'm using RedHat 4.2 and postgres 6.3.2 I connect to the postgres database using the latest JDBC driver (that comes with 6.3.2) and the latest JDK (Steve Byrne's 1.1.6v2). When I run my application I get after a while the following Exception: Exception occurred during event dispatching: java.lang.OutOfMemoryError: at postgresql.PG_Stream.ReceiveString(PG_Stream.java:240) at postgresql.Connection.ExecSQL(Connection.java:712) at postgresql.Statement.execute(Statement.java:259) at postgresql.Statement.executeQuery(Statement.java:46) The application I am running imports an ASCII file into a number of postgresql tables by repeatedly issuing executeQuery statements. At startup I create a Connection and a Statement object which I never close (except when stopping the application). I think after about 300 query's I get the out of memory error. Has anyone any idea why this is happening? Regards Wim Ceulemans Nice Software Solutions