In certain cases, the Event Snapshot can have a performance impact on an environment - especially when running in ColdFusion where the pages are being constantly recompiled. When Event Snapshots have been enabled, this causes the JVM to activate a special mode, allowing it to capture detailed variable scope information. Although generally no performance impact will be felt with this mode, it can cause some operations to become slow.
If you enable Event Snapshot, it is recommended that you also enable the "Save Classes" feature on ColdFusion servers to avoid recompilation. The "Save Classes" feature can be found in the ColdFusion admin console under Server Settings > Caching.
Enabling the Event Snapshot feature is known to heavily affect the compilation time of large files on ColdFusion and operations which throw a lot of exceptions (like javacc-based parsers).
Event Snapshot (Exception) Support can be switched on by configuring the following system property in the JVM arguments file:
You can modify your JVM arguments file by following the steps below:
## ColdFusion 10/11/2016/2018:
|Last Updated:||Just now|
Comments are closed.