Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java HttpSession Object Memory Size in Tomcat

843841Mar 14 2006
Hi,

Is it possible to measure the size of a single session attribute [Any Object Let say String Object].
How Tomcat stores the HttpSessionObject in its memory.
Is it beneficial to have one object in session with say 7 String member variables than seven sessions. If it is then what is the estimated memory size difference in above scenario?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 11 2006
Added on Mar 14 2006
0 comments
347 views