How can I suppress the creation of the hs_err_pid file?

前端 未结 2 2091
天涯浪人
天涯浪人 2020-12-30 16:14

We are running a java application under java 1.6.0_13. When it crashes it creates the normal hs_err_pid file. I don\'t want this file created even if the application crashes

2条回答
  •  难免孤独
    2020-12-30 16:29

    If you are using a Unix/Linux system, try setting -XX:ErrorFile to /dev/null (or, if you are using Windows, try NUL).

提交回复
热议问题