File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Measure http session objects


Joined: Feb 24, 2005
Posts: 1

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.

I agree. Here's the link:
subject: Measure http session objects
It's not a secret anymore!