JAVA error: java.lang.OutOfMemoryError:GC overhead limit exceeded

java error Talk show java.lang.OutOfMemoryError:GC overhead limit exceeded
-Xms10
-Xmx10
-XX:MaxDirectMemorySize=5m

GC The difference between the value before and after the collection is not the same as no collection


jvm para logyourrun
-Xms10
-Xmx10
-XX:PrintGCDetalis
-XX:MaxDirectMemorySize=5m

Result:


Read More: