[jboss-user] [Installation, Configuration & Deployment] - Re: Is there a way to view the size of HTTP sessions in JBos

thirtybelowzero do-not-reply at jboss.com
Tue Apr 17 16:23:33 EDT 2007

I guess by size (though admittedly they may be slightly different) I mean the actual size of the session as stored in memory or on disk. 

Here's a little background:
I'm helping to test an application that seems to be storing a large amount of data in the HTTP session. During the test, after a number of login/logout sequences (about 70), we start to see OutOfMemory errors. The Heap size is currently set to 512 MB. If I decrease the session timeout to a very low value (3 min.), and rerun the test, everything works fine and the memory is ok. I interpret this behavior to mean that the session size is getting large (ie. 70 sessions/450M is approx. 6.4 MB per session), and as long as I time them out before the test completes, we don't run out of memory. Since I'm not really accounting for the other processes that may be running, this is probably not a very good estimate, so I'm looking for a way to view these within JBoss to get a better estimate of the actual session size.


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

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

More information about the jboss-user mailing list