Two Laptop Bag*
The moose likes JDBC and the fly likes apache derby default CacheManager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "apache derby default CacheManager" Watch "apache derby default CacheManager" New topic
Author

apache derby default CacheManager

Monti Gable
Greenhorn

Joined: Dec 29, 2008
Posts: 1
Hello,

I am not sure if it is the right place to ask about apache derby; but if it is I had heap out of memory where 1 of the objects occupying ~20% of the heap was org.apache.derby.impl.services.cache.ConcurrentCache. I run multiple instances of embedded derby databases within my java application where I restart from time to time the databases to reclaim the heap but eventually it gets me.
I looked up that I can shutdown and clean ConcurrentCache or org.apache.derby.iapi.services.cache.CacheManager, but I could not find what syntax will get me the handles (it seems there no static methods too).
I would greatly appreciate any help at this point.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: apache derby default CacheManager