Re: java.lang.OutOfMemoryError - Mailing list pgsql-jdbc

From Matt Mello
Subject Re: java.lang.OutOfMemoryError
Date
Msg-id 3E3FA28F.8060508@spaceship.com
Whole thread Raw
In response to Re: java.lang.OutOfMemoryError  (Matt Mello <alien@spaceship.com>)
List 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


pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Patch Applied question about rollback and SQLException
Next
From: Matt Mello
Date:
Subject: Re: java.lang.OutOfMemoryError