Wow! Thanks for that information Dave!

Dave Ross wrote:
> There *is* away to see exactly how much space a given object (CFC, array, or 
> otherwise) is taking up - perform a "Heap Dump". If you are running a JVM 
> 1.4.2_12 and up, you can force a heap dump and thqen analyze the resulting 
> bin file with jHat (a utility that comes w/ JDK6) to see what was in your 
> heap, in terms of classes, number of instances, and size of each instance. It 
> takes some digging, but if you need to find out the actual memory footprint 
> of a CFC (in terms of bytes), you can do it this way. I talked a bit about 
> this here (with links to info on doing heap dumps):
>
> http://www.d-ross.org/index.cfm?objectid=7DADADEF-1143-D861-4D62CCC08AB955CB
>
> The other way is to hook a profiler (like Borland's OptimizeIt) to a running 
> jvm. 
>
> Dave Ross
> http://www.coldspringframework.org
>
>   
>> Is there any way (outside of getting CF8 in a few months) that I can 
>> access the amount of memory that a given scope is using?
>>
>> Thanks,
>> Chris
>>
>> -- 
>> http://cjordan.us
>>     
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279345
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to