Taking temperature of CFMX
As we know CFMX runs on top of J2EE(Java Virtual Machine). How do I find out how hot the coffee is boiling? Well, easy enough:
ColdFusion Memory Usage Stats
Quick sample:
<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>
<cfoutput>
Free Allocated Memory: #Round(freeMemory)#mb
Total Memory Allocated: #Round(totalMemory)#mb
Max Memory Available to JVM: #Round(maxMemory)#mb
</cfoutput>
UPDATE: This is a repost of
ColdFusion Memory Usage Stats, thank you Freitag for pointing it out.
5 Comments:
WEB HOSTING
Can I Help You.. Yes If you want to get on the web. If you want to start learning about creating a web site of your own.. go to http://webhost11.com. to find out more about cpanel hosting webhosting ... We can help find a web host for you.
Learn how to install your Webserver Software & How to install PHP, MYSQL,PERL,PHPMYADMIN + MORE 100% FREE
YOU'LL DISCOVER...
How to host unlimited websites & domains for free.
How to install Webserver Software on your PC easily.
How to install PHP , MYSQL , PHPMYADMIN, PERL & ZEND... on your PC
Replicator site + MYSERVER Tutorials software to earn lots of money paid instantly to your PAYPAL account + how to promote it to millions 100% FREE.
And Much More...
Go here now : http://lnk.in/4cur
http://lnk.in/4cur
http://lnk.in/4cur
Thank you and hurry.
Great article! Thanks.
Thanks for interesting article.
Excellent website. Good work. Very useful. I will bookmark!
Post a Comment
<< Home