at the file
size. But I needed something quick and dirty and not necessarily
extremely accurate.
Harsh.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 12:16 AM
To: Struts Users Mailing List
Subject: Re: Object size in App Server
I can help
Mailing List
Subject: Re: Object size in App Server
I can help with the session size at least:
http://javawebparts.sourceforge.net
Specifically, the SessionSize class:
http://javawebparts.sourceforge.net/javadocs/javawebparts/session/Sessio
nSize.html
I think you should be able to yank that
Hi
Is the API available in JDK1.4??
I am not able to get the API in WSAD 5.1.1 version JDK...
Thanks and Regards
Hanmayya Udgiri
On 5/24/06, Hanmay Udgiri <[EMAIL PROTECTED]> wrote:
Hi
I am getting a ResultSet from database.
I want to get the size of the object in the App Server.
Also I want
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.
I can help with the session size at least:
http://javawebparts.sourceforge.net
Specifically, the SessionSize class:
http://javawebparts.sourceforge.net/javadocs/javawebparts/session/SessionSize.html
I think you should be able to yank that code and and make it generic to
work with any Object (
5 matches
Mail list logo