Even after setting the -Xms1024m ,-Xmx4096m,-XX:-UseGCOverheadLimit in sts configuration file, I am still getting the java.lang.OutOfMemoryError: GC overhead limit exceeded
in Spring Tool Suite
Can anybody tell me what should I do to fix this error..
java.lang.OutOfMemoryError: GC overhead limit exceeded in Spring Tool Suite
1k views Asked by Thejas At
1
The java.lang.OutOfMemoryError: GC overhead limit exceeded error is displayed when your application has exhausted pretty much all the available memory and GC has repeatedly failed to clean it.
if you just wished to get rid of the “java.lang.OutOfMemoryError: GC overhead limit exceeded” message, adding the following to your startup scripts would achieve just that: