Java program terminate with java result: 137

删除回忆录丶 提交于 2019-12-03 05:36:13

If there is a cgroup configuration limiting resources it might kill the process if if exceeds the limits (like consumed memory). Check if the cgconfig service running. On RHEL:

service cgconfig status

You can also check for Java crash log files hs_err_.log for more details.

Exit-code above 128 means that the process died because of a received signal (exitCode = 128 + signalNumber). ==> In your case it was signal 9 (= SIGKILL

Since its an outofmemory issue I would just split the operation into pieces if possible. I had to do it today actually where I was processing about 15,000,000 million records today. I just broke it up into chunks of 250,000 looped it and cleared my arrays.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!