We come across the error "java.lang.OutOfMemoryError: Requested array size exceeds VM limit" in the log files and also we observed other process also running after this error
- Why the server is not stopped and other process is also running after the above error?
- Does all the java.lang.OutOfMemoryError errors will block the entire application or not?
- Assume there are 10 threads out of which one thread got failed with OutofMemory error. In such a case will all the threads will be blocked or other 9 threads will continue the process
Example logger message:
example...(QuartzScheduler.java:2166) - Job (DEFAULT.jobLaunchStatusPoller threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Requested array size exceeds VM limit] at org.quartz.core.JobRunShell.run(JobRunShell.java:210) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546) Caused by: java.lang.OutOfMemoryError: Requested array size exceeds VM limit [Mar 17 13:32:24] [3578814] WARN [PollingScheduler_Worker-19] (JobExecutor.java:54) - Job Execution Started.
Thanks.