1、egrep -i -r 'killed process' /var/log  查询内存是否耗尽

2、nohup java -Xms64m -Xmx128m -jar x.xx-xx.jar & 设置jvm参数