Question
How to take automatic memory dumps during high JVM heap usage or out-of-memory errors?
Answer
Automatic memory dumps during OOME can be enabled by passing the following JVM arguments:
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=<path>
To add JVM arguments, the TEAMCITY_SERVER_OPTS environment variable can be used.
Comments
0 comments
Please sign in to leave a comment.