Is it possible to determine the size (memory area) of a variable application area in ColdFusion?

We use FusionReactor, which will show the total memory usage at the server level, but it would be useful to be able to see how many memory units are stored in the application area.

+6
source share
4 answers

You viewed http://www.fusion-reactor.com/fr/ or http://www.seefusion.com/

I think both of these monitors can help you.

0
source

CFSimplicity,

The corporate version of ColdFusion 8 and higher has a server monitor. The server monitor can use the memory breakdown and find out what queries and which areas of the variables consume how much memory. FusionReactor currently cannot.

According to the FusionReactor group post: http://groups.google.com/group/fusionreactor/browse_thread/thread/8a017a61d17e9840/d57cef46b843207d?lnk=gst&q=memory+request#d57cef46b843207d

James Holmes said:

A standard CF Standard installation can use the Java class SizeOf (): sizeof.sourceforge.net sourceforge.net/projects/sizeof Some custom code would be needed to create a monitor based on this, but it works. MxAjax / CFAjax documents and other helpful articles: www.bifrost.com.au/blog/

0
source

Is this something you need to do in real time and / or in production for monitoring? Or is it just what you need for debugging?

I would suggest just using one of the JVM memory dump tools, or perhaps running an application with JRockit jvm and doing live analysis with it.

http://www.schierberl.com/blog/coldfusion-memory-leaks-part-i-profiler-introduction/

0
source

You can see the size of the application area from ColdFusion using the FusionReactor Performance Performance Monitor http://www.fusion-reactor.com - this information is currently captured and stored in one of the log files. You can also visualize this information with FusionAnalytics - which can display and analyze metrics that were captured by FusionReactor. You can see an example of this here - http://docs.intergral.com/display/FA205/CF+Scope+Sizes

0
source

Source: https://habr.com/ru/post/887349/


All Articles