OutOfMemoryError: GC overhead limit exceeded

I am getting below in a Java Application:

Error java.lang.OutOfMemoryError: GC overhead limit exceeded

What does this error means and how we can resolve this?

5 Likes

GC means garbage collection and the error occurs when the JVM spent too much time performing Garbage Collection

you can optimize memory usage

5 Likes