aspose file tools*
The moose likes Servlets and the fly likes Measure http session objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Measure http session objects" Watch "Measure http session objects" New topic
Author

Measure http session objects

Halim YAHIA
Greenhorn

Joined: Feb 24, 2005
Posts: 1
Hi,

i am looking for some code (if any exists) to do metrics on what is really hold in the http session :

how can i get info on :
1. nb of user sessions actually in memory
2. for a given session, what is the size of all objects in the session

This can help in sizing server memory.

Perhaps there is some servletinfo utility somewhere that i can reuse.

Thanks
HYA
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Measure http session objects