A memory overflow occurred in the project code and was reported as  java.lang.OutOfMemoryError: GC overhead limit exceeded , but using  MAT  tool to analyze  dump  files, it was found that the heap memory shared  1.6g  ( Xmx  setting is  2g ), and the  BlockingQueue  of the business thread pool was almost full of  size , but the  size  evaluation we set at that time would not overflow memory even if it was full. 
 found an article on the Internet:  https://blog.csdn.net/renfufei/article/details/77585294, can I add the JVM parameter: -XX:-UseGCOverheadLimit  to solve this situation? 
 also ask  GC overhead limit exceeded  whether it has anything to do with the metadata area? Because of the -XX:MaxMetaspaceSize=128m  configured,  gc  has been found in  98% . 
  
 
