Re: Exception in thread "main" java.lang.OutOfMemoryError:

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Roland Walter <rwa(at)mosaic-ag(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Exception in thread "main" java.lang.OutOfMemoryError:
Date: 2006-08-28 09:32:13
Message-ID: 44F2B81D.50409@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Roland Walter wrote:
> Roland Walter <rwa(at)mosaic-ag(dot)com> 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vidas Makauskas 2006-08-28 12:06:42 error: ResultSet.updateObject(timestamp in POSTGRES, DATE(7) in ORACLE )
Previous Message Roland Walter 2006-08-28 07:53:34 Re: Exception in thread "main" java.lang.OutOfMemoryError: