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.
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?