I'm using JBoss cache 1.1 with JBoss 3.2.5 , and I've a problem...
When I try to load a cache (.load("/"), it's almost 130 MB), it give me an Exception: OutOfMemoryError.
Now, my question is: Can I avoid, in some way, that Jboss cache load in memory all storage cache? Is possible that all methods searching and getting in storage cache, without load all in memory?
Yes, use the Preload tag, e.g.
This will pre-populate just 2 subtrees. Also, add eviction policies that kick in when the cache becomes too big.