aspose file tools*
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 Java 8 in Action this week in the Java 8 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.
 
 
subject: apache derby default CacheManager
 
Similar Threads
Glassfish - storing persistent timers
derby dialect
JDK 6 and JavaDB or Apache Derby... How do I install?
Build.xml: Standalone Derby Database.
Derby ... limiting fetched rows number