Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OutOfMemoryError: GC overhead limit exceeded when heap is just fine

838083May 4 2011 — edited May 11 2011
Hi, 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 8 2011
Added on May 4 2011
12 comments
13,889 views