X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 0E39C9FCE1C for ; Mon, 28 Aug 2006 06:32:33 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 96293-03 for ; Mon, 28 Aug 2006 09:32:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by postgresql.org (Postfix) with ESMTP id 6E4449FCE17 for ; Mon, 28 Aug 2006 06:32:23 -0300 (ADT) Received: from 203-118-178-246.bliink.ihug.co.nz ([203.118.178.246] helo=[10.1.1.6]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1GHdTf-00024r-6k; Mon, 28 Aug 2006 21:32:19 +1200 Message-ID: <44F2B81D.50409@opencloud.com> Date: Mon, 28 Aug 2006 21:32:13 +1200 From: Oliver Jowett User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Roland Walter CC: pgsql-jdbc@postgresql.org Subject: Re: Exception in thread "main" java.lang.OutOfMemoryError: References: <44EDDD23.2040605@larcb.ecs.nasa.gov> <44EEA9D9.4060309@mosaic-ag.com> <44EEE89E.8060506@larcb.ecs.nasa.gov> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200608/144 X-Sequence-Number: 15671 Roland Walter wrote: > Roland Walter writes: > >> static String createIndex = "CREATE INDEX xitransaction3 on transaction using btree (cc_trans_id, bc_id)"; > > The problem was in Jim's create index statement. He used brackets > instead of parenthesis around the column names. Jim corrected it and > an OutOfMemoryError did not occur anymore. The statement took about 48 > minutes. Sounds like there is a bug in the driver's escape sequence parsing somewhere then. An invalid {...} escape shouldn't cause an OOME. -O