How much memory should a soft reference use?  

Using the default cache settings, my memory usage (based on the Windows Task 
Manager) was about 200MB more when there was 100,000 messages waiting to be 
consumed than when the queue was empty.  The total java memory was at 300MB.  
So, assuming that most of the refrerences were soft, this would indicate that 
each soft reference was using 2K.  Does this sound right? 

I didn't look at the actual MBean properties when the JMS queue was in that 
state, but I plan to build up the queue to 100,000 messages and try it again.

Thanks,
Eric Hansen

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to