
Before shutting down a memory snapshot will be created. If you run into situations where Confluence is unresponsive and you are not able to trigger a memory snapshot, please ensure that you start Confluence with the onexit=memory parameter in the JVM options (as in the example below) and simply shut down Confluence.
YOURKIT JAVA PROFILER 8 WINDOWS
Launch YourKit Java Profiler from the Windows host’s Start menu. Create a Monitor Remote Application to collect snapshots. This port needs to be open on the WebSphere server's firewall. Installing the YourKit Pluginĭownload the plugin and upload it into Confluence through the Administration, Plugins page.Ī new menu option, "YourKit Profiling' will appear under the 'Administration' heading. The YourKit Java Profiler on a Windows host will communicate to the WebSphere server on its default TCP port of 10001.
YOURKIT JAVA PROFILER 8 HOW TO
See also Profiling overhead: how to reduce or avoid in the YourKit documentation. YourKit Java Profiler supports profiling of the following Java 8 - Java 18 JVMs: OpenJDK, including builds from: AdoptOpenJDK Amazon Corretto Azul Zulu. agentlib:yjpagent=disablecounts,disablealloc,disablej2ee This file controls the startup parameters for Tomcat, so you'll need to restart it after making the changes.Īdd the 'agentlib' parameter to the end like this: To configure Confluence's JVM to use the YourKit agent, you need to add a parameter to CATALINA_OPTS in the bin/setenv.bat file in your Confluence application directory. For example, you might add "C:\Program Files\YourKit Java Profiler 6.0.12\bin\win32" to your PATH, via Control Panel, System, Advanced, Environment Variables. On Windows, add to your PATH environment variable the bin/win32/ directory underneath the YourKit installation directory. The YourKit documentation covers this in more detail.

They should be easily applicable to other application servers and JVMs, however. YourKit has developed a revolutionary way to profile Java applications at both development and production stages, bringing unparalleled benefits to Java developers. CPU and memory Java profiling has never been easier, and smarter at the same time. The following instructions apply to Confluence and Tomcat installations with the Oracle (previously Sun) JDK. YourKit Java Profiler Features Award winning Java Profiler. Note: YourKit version 7 is not compatible with the Confluence yourkit plugin.
YOURKIT JAVA PROFILER 8 INSTALL
Download YourKit 6.0 for your platform and follow the installation instructions to install it.
