Big java_error_in_idea.hprof

Answered

Hi,

As I was going through some cleaning on my SSD I realised that I have a file "java_error_in_idea.hprof" that is ~3GB...

1. Is it ok to simply delete it ?

2. How come this file can get this big ?

3. Is there something that I can do to cap it ?

Thanks

10
4 comments

1. Yes.

2. This file contains the memory dump of the IDE process when it runs out of memory.

3. Reduce the heap size or disable capturing OOM snapshots by removing the -XX:+HeapDumpOnOutOfMemoryError VM option.

10

Thanks a lot !

How many of you there is behind this account ? :D

1

Just one, it's my personal account.

1

Please sign in to leave a comment.