-
1. Re: GC overhead limit exceeded,Java heap space
shawkins Oct 15, 2015 8:57 AM (in response to jietao)> Solution?
Unfortunately there is not enough to make any determination of what is happening. At least a query plan is needed. Ideally you could provide some analysis of a heap dump to show what is mostly occupying the heap.
-
2. Re: GC overhead limit exceeded,Java heap space
jaysensharma Oct 15, 2015 11:29 AM (in response to jietao)The "GC overhead limit exceeded " indicates that, more than 98% of the total time is spent doing garbage collection and less than 2% of the heap is recovered.
The "GC overhead limit exceeded " in general represent the following cause:1. When the heap is too small, there is a memory leak. (Try increasing the -Xmx value while starting your process)
2. The old generation size of the heap might be very small compared to the new generation.
3. If increasing the Heap size (-Xmx) OR tuning the Old Generation size does not help then it might be a memory leak in the application code/container code.
-
3. Re: GC overhead limit exceeded,Java heap space
jietao Oct 16, 2015 5:57 AM (in response to jaysensharma)Thx. The reason is that our database table is too big and I cannot select *. Thank you all.
-
4. Re: GC overhead limit exceeded,Java heap space
shawkins Oct 16, 2015 7:29 AM (in response to jietao)Is there other processing going on here? A simple forward only result will be batched to the client so that it would have a negligible memory overhead.