Delete comment from: Javarevisited
Here is another very useful option I think every java programmer needs to know of:
-XX:+HeapDumpOnOutOfMemoryError
This will dump a hprof file on the moment
an outofmemory occurs. This hprof file
can than be debugged with eclipse memory
analyzer.
Nov 15, 2011, 10:03:39 AM