how can I set the DUMP file location for the Tanuki wrapper.
I need to write the DUMP file when the OutOfMemoryError occurs. This is configured as follows:
wrapper.filter.trigger.1=java.lang.OutOfMemoryError
wrapper.filter.action.1=DUMP,RESTART
But I need to store it to a different disk partition to prevent a total crash due to disk memory.
I found some JVM properties but they seem not to work:
wrapper.java.additional.18=-XX:HeapDumpPath=C:/test1
Description:
-XX:HeapDumpPath=./java_pid<pid>.hprof Path to directory or filename for heap dump.
This one is not needed in my case --> HeapDump is being written with the above config..-XX:-HeapDumpOnOutOfMemoryError
Can anyone help me in this term. Thanks!