java.lang.OutOfMemoryError: GC overhead limit exceeded

IT黑名单 2017-7-24 15:54:42

2017-07-22T18-46-07-[2017-07-22T18:46:07.464+0800] [glassfish 4.1] [SEVERE] [] [] [tid: _ThreadID=40 _ThreadName=Thread-9] [timeMillis: 1500720367464] [levelValue: 1000] [[
server.log_2017-07-22T18-46-07: org.dozer.MappingException: java.lang.OutOfMemoryError: GC overhead limit exceeded
server.log_2017-07-22T18-46-07:	at org.dozer.util.MappingUtils.throwMappingException(MappingUtils.java:82)
server.log_2017-07-22T18-46-07-	at org.dozer.MappingProcessor.mapField(MappingProcessor.java:319)
server.log_2017-07-22T18-46-07-	at org.dozer.MappingProcessor.map(MappingProcessor.java:267)
server.log_2017-07-22T18-46-07-	at org.dozer.MappingProcessor.mapToDestObject(MappingProcessor.java:216)
server.log_2017-07-22T18-46-07-	at org.dozer.MappingProcessor.createByCreationDirectiveAndMap(MappingProcessor.java:196)
server.log_2017-07-22T18-46-07-	at org.dozer.MappingProcessor.mapGeneral(MappingProcessor.java:170)
server.log_2017-07-22T18-46-07-	at org.dozer.MappingProcessor.map(MappingProcessor.java:104)
server.log_2017-07-22T18-46-07-	at org.dozer.MappingProcessor.map(MappingProcessor.java:99)
server.log_2017-07-22T18-46-07-	at org.dozer.DozerBeanMapper.map(DozerBeanMapper.java:120)
...
...
server.log_2017-07-22T18-46-07-	at sun.reflect.GeneratedMethodAccessor993.invoke(Unknown Source)
server.log_2017-07-22T18-46-07-	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
server.log_2017-07-22T18-46-07-	at java.lang.reflect.Method.invoke(Method.java:497)
server.log_2017-07-22T18-46-07-	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
server.log_2017-07-22T18-46-07-	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
server.log_2017-07-22T18-46-07-	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
server.log_2017-07-22T18-46-07-	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)
server.log_2017-07-22T18-46-07-	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)
server.log_2017-07-22T18-46-07-	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
server.log_2017-07-22T18-46-07-	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
server.log_2017-07-22T18-46-07-	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
解决方案:
增加JVM参数 -XX:-UseGCOverheadLimit
调整
heap参数(适当调大) -Xmx8196m


转载请注明来源【IT黑名单

本文链接:http://blog.itblacklist.cn/20170724/8458.html

© Copyright 2016 IT黑名单 Inc.All Rights Reserved. 豫ICP备15018592号-2