Well the problem is that we have multiple dynamic apps all running from the
same codebase. Each app gets the same code to begin with. Then we add in all
of the cached queries, sessions, etc. At it's heart though, I'd LOVE to be
able to target a specific session and find out it's specific memory usage.

How much memory does DS1812 use, what about DS151?

Anyone?

-----Original Message-----
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 04, 2008 6:15 PM
To: CF-Talk
Subject: RE: Programmatically determine an application's size in memory?

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:298181
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