I've wrestled with the same question before. Excepting the CF8 memory
monitor which James mentioned I don't think there is an easy answer.
The next closest thing would be to restart your server and look at its
memory usage with SeeFusion, Fusion Reactor or the code below.
<cfset runtime = CreateObject("java", "java.lang.Runtime").getRuntime()>
<cfset usedMemory = (runtime.totalMemory() - runtime.freeMemory()) /
1024 / 1024>
#round(usedMemory)# MB used.
Then start your application and see how much memory is used then.
~Brad
-----Original Message-----
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Monday, February 04, 2008 4:57 PM
To: CF-Talk
Subject: Programmatically determine an application's size in memory?
Does anyone know of a way to determine how much memory a single
application is taking up? Say I know the app name, is there a method or
tag that can tell me how much memory THAT application is using? Either
pure CF, or Java would be fine.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298160
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4