for tracking down a memory issue. I have a suspicion that we are actually storing too much information in our application scope, so I want to be able to run a script to spit out the current size of the application scope, and possibly parts within the application scope.
Barry On Nov 18, 3:17 pm, Mark Mandel <[email protected]> wrote: > Do you need to be calculating at run time? Or is this for tracking down a > memory issue? > > Mark > > On Wed, Nov 18, 2009 at 1:16 PM, Barry Chesterman <[email protected] > > > > > wrote: > > unfortunately it requires java 5 and we only have java 4 :( > > > On Wed, Nov 18, 2009 at 1:57 PM, Barry Chesterman < > > [email protected]> wrote: > > >> Cool, thanks I'll give it a try > > >> On Wed, Nov 18, 2009 at 1:53 PM, Mark Mandel <[email protected]>wrote: > > >>> The only way I know to reliably do this is through the sizeOf Project: > >>>http://sizeof.sourceforge.net/ > > >>> But this does mean you have to include an agent with your JVM, and I > >>> don't know what the overhead of that agent will be. > > >>> Mark > > >>> On Wed, Nov 18, 2009 at 11:38 AM, BarryC <[email protected]>wrote: > > >>>> Hi, > > >>>> Does anybody know if there is a way in coldfusion (or the underlying > >>>> java language) to calculate the size of a variable in bytes? > > >>>> I want to calculate the size of a struct in bytes, but I cannot find a > >>>> way to calculate it and there doesn't look to be any function that > >>>> does it? > > >>>> Thanks :) > > >>>> Barry > > >>>> -- > > >>>> You received this message because you are subscribed to the Google > >>>> Groups "cfaussie" group. > >>>> To post to this group, send email to [email protected]. > >>>> For more options, visit this group at > >>>>http://groups.google.com/group/cfaussie?hl=. > > >>> -- > >>> E: [email protected] > >>> T:http://www.twitter.com/neurotic > >>> W:www.compoundtheory.com > > >>> -- > >>> You received this message because you are subscribed to the Google Groups > >>> "cfaussie" group. > >>> To post to this group, send email to [email protected]. > >>> For more options, visit this group at > >>>http://groups.google.com/group/cfaussie?hl=. > > > -- > > You received this message because you are subscribed to the Google Groups > > "cfaussie" group. > > To post to this group, send email to [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/cfaussie?hl=. > > -- > E: [email protected] > T:http://www.twitter.com/neurotic > W:www.compoundtheory.com -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=.
