db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Embretsen <John.Embret...@Sun.COM>
Subject Re: Derby causes PermGen leaks in Tomcat
Date Thu, 27 Sep 2007 08:52:42 GMT
Alan Burlison wrote:
> John Embretsen wrote:
> 
>> When I run a small test case (outside of Tomcat) I see the AntiGC 
>> thread hanging around after doing:
>>  - load embedded driver (with newInstance())
> 
> Which class has the newInstance() method?

In my simple test case, I load the driver by doing

Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance();

(I'm not able to reload the driver after system shutdown without using 
newInstance())



-- 
John

Mime
View raw message