Re: java.lang.OutOfMemoryError

From: Matt Mello <alien(at)spaceship(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: java.lang.OutOfMemoryError
Date: 2003-02-04 11:22:55
Message-ID: 3E3FA28F.8060508@spaceship.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Matt Mello wrote:
> Can we patch / extend the driver to allow us to set an absolute maximum
> resultset length on a query and alert us when it would have been
> exceeded WITHOUT it causing our system to go haywire / crash / get OOME?

Oh, and apparantly Statement.setMaxRows(int max) works, in response to
my own question about how to absolutely limit a resultset.

--
Matt Mello

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Matt Mello 2003-02-04 11:52:40 Re: java.lang.OutOfMemoryError
Previous Message Dave Cramer 2003-02-04 11:17:37 Patch Applied question about rollback and SQLException