XX:+HeapDumpOnOutOfMemoryError Max file size limit
<p>I'm running a Java process with the <code>XX:+HeapDumpOnOutOfMemoryError</code> JVM flag and seeing the following output:</p>

<pre><code>java.lang.OutOfMemoryError: Java heap space
Dumping heap to /local/disk2/heaps/heapdump.hprof ...
Dump file is incomplete: file size limit
</code></pre>

<p>Is there a way to get around this issue?</p>