Spring boot 计划作业正在终止Spring启动应用程序

Spring boot 计划作业正在终止Spring启动应用程序,spring-boot,scheduler,Spring Boot,Scheduler,我在spring boot应用程序(scheduler)中有四个计划的作业,还有更多的rest API,但我的spring boot应用程序有时会被杀死。同一台服务器上还有另一个one spring boot应用程序,它工作得非常好 安排在以下位置的作业: @Scheduled(cron = "0 0 1 * * ?") // Heavy job @Scheduled(cron = "0 0/30 * * * ?") // Light job @Scheduled(cron = "0 0 3

我在spring boot应用程序(scheduler)中有四个计划的作业,还有更多的rest API,但我的spring boot应用程序有时会被杀死。同一台服务器上还有另一个one spring boot应用程序,它工作得非常好

安排在以下位置的作业:

@Scheduled(cron = "0 0 1 * * ?")  // Heavy job
@Scheduled(cron = "0 0/30 * * * ?") // Light job
@Scheduled(cron = "0 0 3 * * ?")  // Light job
@Scheduled(cron = "0 0 * * * ?")  // Light job
应用程序(计划程序)本周在以下位置被杀死3次:

2018-06-10 01:05:42.305
2018-06-11 02:00:12.165
2018-06-13 12:00:01.603
不知道发生了什么?为什么?
有人能帮我吗?有什么解决办法吗。

提前感谢。

这些计划线程执行什么样的作业?定义被杀死,这是否意味着内存不足错误?@Indraneel我的第一个作业导出CSV文件,这是一个有点繁重的作业,但其余3个作业是获取最多500条记录的轻作业。KILLED意味着jar文件的进程停止,然后我必须手动重新启动jar文件。此外,我已经通过异常和Throwable处理了这种情况,但我的日志没有显示异常或错误。注意:还有一个jar文件可以正常工作。