01-16-2019 06:36 AM
When trying to run agent detail report for previous day I am getting error
NestedServletException Handler processing failed; nested exception is java.lang.OutOfMemoryError: java heap space
Root Cause:
OutofMemoryError Java heap space
Can you tell me what causes this and how to correct this?
01-16-2019 06:39 AM
M.
01-16-2019 06:47 AM
01-05-2021 11:18 PM
Usually, this error is thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
Therefore you pretty much have two options:
Increasing the heap size is a bad solution, 100% temporary. It will crash again in somewhere else. To avoid these issues, write high performance code.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: