[jboss-user] [JBoss Cache: Core Edition] - huge memory usage problem

sridhar_ratna do-not-reply at jboss.com
Wed May 6 00:32:33 EDT 2009


I am trying to put populate a hashmap with certain key value pairs and add it to jboss cache node.
There are around one lakh such nodes under the root and each node size is around 32K. So the total database size around 2GB. 
I am using JDBCCacheloader persistance.

At the time of population (from a developer machine) i configured the maximum no of nodes as 2000 due to memory limitation in system.

Now i started the application in server machine (64 bit Redhat Linux enterprise V5.3) with 4GB RAM and 4GB of SWAP space to load the complete cache.

But i wondered to see that, after completely loading the data into memory, it consumed 3.5GB of RAM and 3 GB of SWAP space.

When the total data size is 2GB, why Jboss cache is consuming more tha 3 times of space?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228817#4228817

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228817



More information about the jboss-user mailing list