配置-XX:+HeapDumpOnOutOfMemoryError 对于OOM错误自动输出dump文件

配置-XX:+HeapDumpOnOutOfMemoryError 对于OOM错误自动输出dump文件

学习了:http://blog.csdn.net/stevendbaguo/article/details/51366181

原文地址:https://www.cnblogs.com/stono/p/8520463.html