db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Rubin <rubina...@yahoo.com>
Subject derby 10.1.3.1 memory leak and simple fix
Date Wed, 18 Jun 2008 17:59:24 GMT
Hi guys,

For various reasons we have to use version 10.1.3.1 which has a memory leak when loaded in
Embedded mode and multiple instances are started/stopped repeatedly. It leaks most of the
used page cache.

To get around this problem, I added the following code to the end of Clock.shutdown()

holders.clear();
this.clear();

that did the trick and we've been running this in production for a few months with no issues.

-Alex



Mime
View raw message