db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: Too many open files
Date Thu, 05 Feb 2009 18:27:17 GMT
> On further investigation it seems to me that after closing an embedded derby 
> database some file handles (.dat, .lck and .log) are kept open (checked using 
> lsof).

Closing a JDBC connection is not the same as shutting down the Derby system:

         "If the application that started the embedded Derby quits but
          leaves the JVM running, Derby continues to run and is available
          for database connections."

What happens if you re-try your test, but fully shut down the Derby system?



View raw message