This content has been marked as final.
Show 1 reply
-
1. Re: huge memory usage problem
manik May 6, 2009 5:25 AM (in response to sridhar_ratna)There is a lot of overhead in maintaining the tree structure. The overhead varies with the type of data stored, and if you have a lot of small key/value pairs then the overhead increases quite significantly. This is one of the motivations for starting the Infinispan [1] project.
One thing you could do is if you are using pessimistic locking, switch to MVCC which reduces the number of locks created and hence memory overhead.
[1] http://www.infinispan.org