Yeah, I was looking at this project:
http://sizeof.sourceforge.net/

But it requires you to put in your jvm arguments:

 -javaagent:/path_to/sizeOf.jar

Which I worry would affect performance because of the instrumentation
required... but I will follow this up to find out if it actually does.

Mark






On Tue, Oct 21, 2008 at 3:31 AM, Jared Rypka-Hauer
<[EMAIL PROTECTED]> wrote:
>
> As I understand it, the Server Monitor has an API that lets you do
> about anything that the UI does since the UI is all driven by the
> Admin API.
>
> Sadly, that's an Enterprise-only sort of feature.
>
> It seems that someone would need to implement a class that implements
> java.lang.instrument.Instrumentation to get to
> Instrument.getObjectSize() to make this work. Then again, it seems
> this would require an Agent and now we're getting into stuff that's
> well beyond my understanding at the moment. As much as I'd love to
> keep digging. Gah, I need more time, Keptain!!
>
>
> Anyway...
>
> J
>
> On Oct 20, 2008, at 6:05 AM, Mark Drew wrote:
>
>>
>> And if not, we can at least get the number of objects available there.
>>
>> MD
>>
>> On Mon, Oct 20, 2008 at 12:03 PM, Doug Hughes <[EMAIL PROTECTED]>
>> wrote:
>>> Well, from a development perspective it's actually quite possible
>>> that
>>> someone could have the CF profiler enabled.  And aren't there
>>> methods to
>>> talk to that?  The dashboard could simply talk to it if it's
>>> avaliable.
>>>
>>> Doug Hughes, President
>>> Alagad Inc.
>>> [EMAIL PROTECTED]
>>> 888 Alagad4 (x300)
>>> Office: 919-550-0755
>>> Fax: 888-248-7836
>
> >
>



-- 
E: [EMAIL PROTECTED]
W: www.compoundtheory.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to