i've started using the TreeCache method of jboss-cache.  i'm trying to store my 
report objects into jboss cache.   most of my report objects when serialized 
are about 800k each, others may be more.  i will be saving/retreiving hundreds 
of these objects -- total disk space is about 2gigs (file size from using a 
less effective caching system that i made).  

currently, i am able to put these objects into the cache.... but as soon as i 
start retreiving some of these objects, i run out of memory.  my machine has 
1gig of memory and i've told jboss to start with parameters: "-Xms128m 
-Xmx912m".  but my machine eventually starts swapping memory to disk -- and 
eventually crashes.

2 questions:
is jboss-cache meant to be used for big/many objects like this? if so, why does 
it eat so much memory?

is there a way to specify how much memory jboss-cache will use -- maybe through 
a eviction policy? if not, is it in the future plans?

thank you

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to