db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: GenericPreparedStatements leak due to DependencyManager?
Date Wed, 17 Feb 2010 23:34:42 GMT
Sumedh Wale <sumwale@fastmail.fm> writes:

> Hi
> I noticed OOM issues in one of the test runs that creates quite a good
> number of PreparedStatements. Looking at the hprof dump and the code,
> it looks like GenericPreparedStatements are being held on to by
> BasicDependencyManager even after having being expired from LCC's
> CacheManager. I looked at JIRA but did not find any existing bug for
> this -- is it a known issue? One fix can be to explicitly invoke
> DependencyManager#clearDependencies() for the GenericPreparedStatement
> from CachedStatement#clearIdentity(). This is with 10.4.x and I have
> not yet tried with latest 10.5 release.

Hi Sumedh,

I haven't heard about this issue before, so if you still see it with
10.5 it would be great if you could file a bug report with instructions
on how to reproduce it.


Knut Anders

View raw message