java.lang.OutOfMemoryError: GC overhead limit exceeded Print

  • java
  • 0

Symptom

Your Tomcat container is hanging and you see this exception in your catalina.out log file: java.lang.OutOfMemoryError: GC overhead limit exceeded

This means that your application is hitting the memory heap limit set in Tomcat.

Solution

You have 3 options:

  1. Restart tomcat to fix the error temporarily (It will hit the limit again at startup or eventually after sometime)
  2. Investigate your application for memory leaks and fix.
  3. Purchase more heap space from us under your client area by clicking upgrade/downgrade option, select Configurable Options radio button and adjust the heap amount that you need.
    Once your order goes through, someone will open ticket for you to have you restart your container at your convenience.

Was this answer helpful?

« Back