Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Calculate ColdFusion Cached Template Memory Consumption

Tags:

coldfusion

Specifically I'm trying to figure out a rough way to calculate a good value, relative to JVM settings, for CF Admin > Server Settings > Caching > Maximum number of cached templates.

So what I'm trying to figure out is whether or not it's possible to use the Admin API to get this information from ColdFusion? Or, if there's another way using Java for instance.
The only guidance I've found is from Adobe's documentation suggesting 1 template per megabyte allocated to the JVM.

Please no answers about profiling.

like image 298
orangepips Avatar asked Dec 07 '25 12:12

orangepips


1 Answers

I know that you can see some of the template cache usage in the CF Server Monitor, but you may also be able to use something http://www.cftracker.net/page.cfm/features to see what's getting used in your cache.

like image 52
Dan Short Avatar answered Dec 10 '25 12:12

Dan Short



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!