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

From: Kris Jurka <books(at)ejurka(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: Roland Walter <rwa(at)mosaic-ag(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Exception in thread "main" java.lang.OutOfMemoryError:
Date: 2006-09-26 04:43:06
Message-ID: Pine.BSO.4.63.0609252342410.10572@leary2.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Wed, 30 Aug 2006, Kris Jurka wrote:

> On Mon, 28 Aug 2006, Oliver Jowett wrote:
>
>> Sounds like there is a bug in the driver's escape sequence parsing
>> somewhere then. An invalid {...} escape shouldn't cause an OOME.
>>
>
> Indeed. The attached patch fixes this case for me. In general the
> handling of escapes that aren't correct doesn't look great and should
> probably be looked at it the future. For example the fact that it only
> checks the first letter of some escapes and doesn't complain if the
> second isn't found doesn't look good. Anyway as gborg is down, cvs is
> down, so I'll commit this one later.
>

Applied to 8.0, 8.1 and HEAD.

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2006-09-26 05:14:24 Re: FAQ update patch
Previous Message Oliver Jowett 2006-09-25 21:42:57 Re: Bind message