开发者

How to Calculate ColdFusion Cached Template Memory Consumption

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 do开发者_StackOverflow中文版cumentation suggesting 1 template per megabyte allocated to the JVM.

Please no answers about profiling.


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.


When you say "JVM Settings" do you know which part of the generation you are interested in. The New or Young generation, Old or Tenured generation or the Permanent generation? Also, what are you looking to achieve?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜