I'm currently having the following exception, I know this is because a out of memory exception, but my quartz scheduler stops working and I need to revive the job processing, any ideas?
unhandled Exception:
org.springframework.scheduling.quartz.JobMethodInvocationFailedException:
Invocation of method 'updateScheduledJobs' on target class [class org.custom.scheduler.SchedulerManager] failed;
nested exception is java.lang.OutOfMemoryError: Java heap space
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:320)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:113)
at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: java.lang.OutOfMemoryError: Java heap space
2016-06-02 19:58:39,445 ERROR scheduler_Worker-6 org.quartz.core.ErrorLogger
--> Job (DEFAULT.updateScheduler threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception:
org.springframework.scheduling.quartz.JobMethodInvocationFailedException:
Invocation of method 'updateScheduledJobs' on target class