Java big list object causing out of memory -
I am using Java Spring Ibatis
I have a Java based reporting app Displays the data in I think that when the system tries to process data in large quantities, it throws the "out of memory" error
I know that we can increase the memory size Or we can present paging in application reporting. Any remedy? I am curious if there is something like the list is large in the collection of memory and the disc, then we do not have to make any major changes to the application code?
Any suggestions appreciated.
The first thing is that you should check the memory you are exiting from.
-XX: + HeapDumpOnOutOfMemoryError -XX: HeapDumpPath = / where / you
this will generate a Hep Dump HIFF file.
You can use something like some Eclipse Memory Analyzer Tool to see which part of the heap (if you have all) to increase or you have a memory leak.
Comments
Post a Comment