OutOfMemoryError: GC overhead limit exceeded when heap is just fine
838083May 4 2011 — edited May 11 2011Hi, I got on a load test environement the following error one time:
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
When i check the heap - it is fine during that time. it started to increase following that error for about 45 minutes, and then it was lowered again.
But at the time of the exception it was low. it increased following the error from 228MB to 315MB (on a process where the max heap is 512 MB so even after increasing it shouldn't be a problem).
Any ideas why the heap is fine but i get out of memory error?
Thanks, Michal