I have already added -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="C:\hd.hprof"
to Default VM arguments but I don't know why the heap dump file not generated when OutOfMemoryError
thrown. Can anyone halp me?
More details:
My JRE version is 1.7.0_02
The heap dump is generated once for the first time but when I change HeapDumpPath, it not generated anymore. Already revert HeapDumpPath to be the same as the first time but heap dump still not generated
File
C:\hd.hprof
already exists.Below image is the eclipse dialog when I force close eclipse. In that dialog, I can see that eclipse have included my arguments ]![Below image is the eclipse dialog when I force closing eclipse. In that dialog, I can see that eclipse have included my arguments
Thanks you.