test: write heap dump to log folder
Per default the heap dump is written to target/JX/pidXYZ.hprof In order to keep them when a new test is is started, they should be written to log folder which is not cleared in a new test run. Heap dump location can be set with -Dtests.heapdump.path=/path/to/heapdump closes #7452
This commit is contained in:
parent
09816fdf57
commit
44dbd9b0c9
2
pom.xml
2
pom.xml
|
@ -39,6 +39,7 @@
|
|||
<tests.bwc.path>${project.basedir}/backwards</tests.bwc.path>
|
||||
<es.logger.level>INFO</es.logger.level>
|
||||
<tests.heap.size>512m</tests.heap.size>
|
||||
<tests.heapdump.path>${basedir}/logs</tests.heapdump.path>
|
||||
<tests.topn>5</tests.topn>
|
||||
<execution.hint.file>.local-${project.version}-execution-hints.log</execution.hint.file>
|
||||
</properties>
|
||||
|
@ -476,6 +477,7 @@
|
|||
<param>-XX:MaxDirectMemorySize=512m</param>
|
||||
<param>-Des.logger.prefix=</param>
|
||||
<param>-XX:+HeapDumpOnOutOfMemoryError</param>
|
||||
<param>-XX:HeapDumpPath=${tests.heapdump.path}</param>
|
||||
</jvmArgs>
|
||||
<shuffleOnSlave>${tests.shuffle}</shuffleOnSlave>
|
||||
<sysouts>${tests.verbose}</sysouts>
|
||||
|
|
Loading…
Reference in New Issue