You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hari Venkatesan <hv...@pfgc.com> on 2003/01/20 17:13:24 UTC
Value Object Size
Is there a way to find out the size of a Value Object. (viz., I have a
bean defined and have populated the bean with data from database.) I
need to know the final size of this bean
Hari
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Value Object Size
Posted by Jerome Jacobsen <je...@gentootech.com>.
You could Serialize it to a byte array and then output the size of the byte
array. Or Serialize it to a file and look at the file size.
> -----Original Message-----
> From: Justin Ashworth [mailto:justin-struts@ashworth.org]
> Sent: Monday, January 20, 2003 11:30 AM
> To: Struts Users Mailing List
> Subject: Re: Value Object Size
>
>
> If you're talking about the size of the object in memory, you
> will probably
> need a profiling tool such as OptimizeIt or JProbe.
>
> http://www.optimizeit.com
> http://www.jprobe.com
>
> ----- Original Message -----
> From: "Hari Venkatesan" <hv...@pfgc.com>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Monday, January 20, 2003 11:13 AM
> Subject: Value Object Size
>
>
> >
> >
> > Is there a way to find out the size of a Value Object. (viz., I have a
> > bean defined and have populated the bean with data from database.) I
> > need to know the final size of this bean
> >
> > Hari
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Value Object Size
Posted by Justin Ashworth <ju...@ashworth.org>.
If you're talking about the size of the object in memory, you will probably
need a profiling tool such as OptimizeIt or JProbe.
http://www.optimizeit.com
http://www.jprobe.com
----- Original Message -----
From: "Hari Venkatesan" <hv...@pfgc.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Monday, January 20, 2003 11:13 AM
Subject: Value Object Size
>
>
> Is there a way to find out the size of a Value Object. (viz., I have a
> bean defined and have populated the bean with data from database.) I
> need to know the final size of this bean
>
> Hari
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>