<cfset mysys = CreateObject("java", "java.lang.Runtime")>
<cfset runtime = mysys.getRuntime()>
<cfset freeMemory = runtime.freeMemory() / 1024 / 1024>
<cfset totalMemory = runtime.totalMemory() / 1024 / 1024>
<cfset free_str="Free=#Round(freeMemory)# Total=#Round(totalMemory)#">
Memory #free_str#<br>
沒有留言:
張貼留言