fabric-example-mod icon indicating copy to clipboard operation
fabric-example-mod copied to clipboard

Add files the JVM may generate under certain conditions to .gitignore

Open kb-1000 opened this issue 3 years ago • 2 comments

You probably know hs_err_pid*.log files already (they are JVM crashes or generally crashes in native code). Sometimes, the JVM will also generate replay_pid*.log or *.jfr files along them (with further debugging information). The *.hprof files are heap dumps, I'm not entirely sure if JVM crashes can generate them on default settings, but ignoring them can't harm, can it?

kb-1000 avatar Jan 24 '22 19:01 kb-1000

Hmm, shouldn't these files be generated in the run directory, where the vm is actually ran?

liach avatar Jan 24 '22 20:01 liach

In theory, yes... if you assumed the only thing that can JVM crash was the game itself. Now, that's not the case unfortunately. The JVMs of Gradle and subprocesses as ran by Loom can crash too. That's not too likely, but happened to me a few times so far.

kb-1000 avatar Jan 29 '22 15:01 kb-1000