Hello Hanmayya,

You can use ObjectOutputStream to serialize and write the object to a 
Stream and find the size of it... 

Based on my experience, I dont believe this will be exactly same as the 
size in reality if you are loading some binary content into it...

Thanks and regards,
Pazhanikanthan. P (Paz)

Consultant for AXA,
HCL Australia Services Pty. Ltd.
Off   : +61-9618-4085
Mob : +61-0411-354-838




"Hanmay Udgiri" <[EMAIL PROTECTED]>
25/05/2006 03:07 PM
Please respond to "Struts Users Mailing List"

 
        To:     user@struts.apache.org
        cc: 
        Subject:        Object size in App Server


Hi
I am getting a ResultSet from database.
I want to get the size of the object in the App Server.
Also I want to get the size of session object after the user is validated
and the user details are added to session.

Thanks and Regards
Hanmayya Udgiri

_____________________________________________________________________ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com


*********************************************************************************
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**********************************************************************************

Reply via email to