Skip to content

Commit

Permalink
Add JVM options to cause OOME (GC overhead limit exceeded) easily.
Browse files Browse the repository at this point in the history
  • Loading branch information
k-tamura committed Dec 26, 2016
1 parent 7413d05 commit 815c21b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@
<argument>-XX:+UseGCLogFileRotation</argument>
<argument>-XX:NumberOfGCLogFiles=5</argument>
<argument>-XX:GCLogFileSize=10M</argument>
<argument>-XX:GCTimeLimit=15</argument>
<argument>-XX:GCHeapFreeLimit=50</argument>
<argument>-XX:+HeapDumpOnOutOfMemoryError</argument>
<argument>-XX:HeapDumpPath=logs/</argument>
<argument>-XX:ErrorFile=logs/hs_err_pid%p.log</argument>
Expand Down

0 comments on commit 815c21b

Please sign in to comment.