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
OutofMemoryError Java heap space
Can you tell me what causes this and how to correct this?
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.