db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Burlison <Alan.Burli...@oracle.com>
Subject Re: Derby causing a classloader leak
Date Mon, 12 Apr 2010 23:20:30 GMT
On 12/04/2010 23:54, Jason von Nieda wrote:

> if I
> run this test code in a loop instead of a single run it eventually causes an
> OOM PermGen space, which is the same error our app experiences after a few
> restarts. By simply not running the two SQL statements the test can run
> indefinitely without an OOM.

Are you calling close() on all the statement and result handles?

Alan Burlison

View raw message