I've does this before but it may only report the JVM's stack heap. Dunno. <cfset runtime = CreateObject("java", "java.lang.Runtime").getRuntime()> <cfset freeMemory = runtime.freeMemory() / 1024 / 1024> <cfset totalMemory = runtime.totalMemory() / 1024 / 1024> <cfset maxMemory = runtime.maxMemory() / 1024 / 1024> <cfset availableProcessors = runtime.availableProcessors()> <cfoutput> <p> Available Processors: #availableProcessors#<br /> Free Allocated Memory: #Round(freeMemory)#MB<br> Total Memory Allocated: #Round(totalMemory)#MB<br> Max Memory Available to JVM: #Round(maxMemory)#MB </p>
~Brad -----Original Message----- From: D F [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 9:44 AM To: CF-Talk Subject: Coldfusion, com and WbemScripting... Trying to obtain system Ram, using the following code below: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264459 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4