new media development ltd

software store

CFX_FreeMem


CFX_FreeMem only £7.50 (£9.00 inc. VAT) GBP ($11.37 USD)   BUY NOW!

CFX_FreeMem is a simple CFX tag that queries the MS Windows kernel for details regarding current memory allocation statistics.

Because CFMX is Java based, any calls to Java based memory functions only return the memory statistics for the JVM therefore, using the Java calls as a diagnosis tool, you only get half of your memory usage picture.

Using CFX_FreeMem to see the overall memory status for your system allows you to get a more accurate picture of your system resources and can help in debugging ColdFusion applications.

CFX_FreeMem returns values for the following:

  • Physical memory load
  • Free physical memory
  • Total physical memory
  • Free pagefile
  • Total pagefile
  • Free virtual memory
  • Total virtual memory


CFX_FreeMem usage:

<cfx_freemem>

<cfdump var="#cfx_freemem#" expand="yes">

<cfoutput>
	Memory Load: #cfx_freemem.MemoryLoad#%<br>
	Free Physical Memory: #Round((cfx_freemem.physicalmemory.free/1024)/1024)#Mb<br>
	Total Physical Memory: #Round((cfx_freemem.physicalmemory.total/1024)/1024)#Mb<br>
	Free Pagefile Memory: #Round((cfx_freemem.Pagefile.free/1024)/1024)#Mb<br>
	Total Pagefile Memory: #Round((cfx_freemem.Pagefile.total/1024)/1024)#Mb<br>
	Free Virtual Memory: #Round((cfx_freemem.virtual.free/1024)/1024)#Mb<br>
	Total Virtual Memory: #Round((cfx_freemem.virtual.total/1024)/1024)#Mb<br>
</cfoutput>

PLEASE NOTE: All our CFX tags and tools are for the Windows platform only.

Latest version released on 06-Dec-2004!

CFX_FreeMem only £7.50 (£9.00 inc. VAT) GBP ($11.37 USD)   BUY NOW!

PLEASE NOTE: The price stated in USD is only an indication and payments collected by new media development will be converted at the rates prevailing at the time.