关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、418799587 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 5315|回复: 2

用eclipse调试,运行一段时间出现PermGen space

[复制链接]
发表于 2016-7-1 16:24:29 | 显示全部楼层 |阅读模式
用eclipse运行3.64,用maven build,运行一段时间出现PermGen space,哪位老大知道如何设置,错误信息如下:
七月 01, 2016 4:20:29 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet springMvc threw exception
java.lang.OutOfMemoryError: PermGen space
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585)
        at java.lang.Class.getConstructor0(Class.java:2885)
        at java.lang.Class.newInstance(Class.java:350)
        at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399)
        at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:396)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:395)
        at sun.reflect.MethodAccessorGenerator.generateConstructor(MethodAccessorGenerator.java:94)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:48)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at java.lang.reflect.Proxy.newInstance(Proxy.java:764)
        at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:755)
        at sun.reflect.annotation.AnnotationParser.annotationForMap(AnnotationParser.java:300)
        at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:290)
        at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:117)
        at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:70)
        at java.lang.reflect.Method.declaredAnnotations(Method.java:714)
        at java.lang.reflect.Method.getAnnotation(Method.java:700)
        at org.springframework.core.annotation.AnnotationUtils.getAnnotation(AnnotationUtils.java:109)
        at org.springframework.core.annotation.AnnotationUtils.getAnnotation(AnnotationUtils.java:173)
        at org.springframework.core.annotation.AnnotationUtils.findAnnotation(AnnotationUtils.java:233)
        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter$ServletHandlerMethodResolver.isHandlerMethod(AnnotationMethodHandlerAdapter.java:544)
        at org.springframework.web.bind.annotation.support.HandlerMethodResolver$1.doWith(HandlerMethodResolver.java:91)
        at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:495)
        at org.springframework.web.bind.annotation.support.HandlerMethodResolver.init(HandlerMethodResolver.java:86)
        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter$ServletHandlerMethodResolver.<init>(AnnotationMethodHandlerAdapter.java:536)
        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter$ServletHandlerMethodResolver.<init>(AnnotationMethodHandlerAdapter.java:531)
        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.getMethodResolver(AnnotationMethodHandlerAdapter.java:477)
        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.supports(AnnotationMethodHandlerAdapter.java:399)
        at org.springframework.web.servlet.DispatcherServlet.getHandlerAdapter(DispatcherServlet.java:1137)


发表于 2016-7-18 23:37:05 | 显示全部楼层
 楼主| 发表于 2016-7-19 06:35:39 | 显示全部楼层
看到了,问题解决了,多谢
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表