zoukankan      html  css  js  c++  java
  • java.lang.OutOfMemoryError: PermGen space 一个低级错误

    java.lang.OutOfMemoryError: PermGen space 一个低级错误

    这个错误时发生在ssh整合的时候,原因,程序当中本来应当已经注入的对象,手贱的多加了一个new,大家出现这个错误的时候可以检查一下注入的对象,看看有么有多new了


    具体错误堆栈列表:

    type Exception report

    message Filter execution threw an exception

    description The server encountered an internal error that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: Filter execution threw an exception
    

    root cause

    java.lang.OutOfMemoryError: PermGen space
    	org.springframework.expression.spel.standard.SpelExpressionParser.<init>(SpelExpressionParser.java:41)
    	org.springframework.context.expression.StandardBeanExpressionResolver.<init>(StandardBeanExpressionResolver.java:61)
    	org.springframework.context.support.AbstractApplicationContext.prepareBeanFactory(AbstractApplicationContext.java:553)
    	org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:454)
    	org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
    	org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
    	com.nbg.nuskin.registration.web.action.UserAction.<init>(UserAction.java:19)
    	sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	java.lang.Class.newInstance0(Class.java:355)
    	java.lang.Class.newInstance(Class.java:308)
    	com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:131)
    	com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:162)
    	com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:151)
    	com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:121)
    	com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:297)
    	com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:397)
    	com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:194)
    	org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
    	org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
    	com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
    	org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:536)
    	org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
    	org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
    

    版权声明:本文为博主原创文章,未经博主允许不得转载。

  • 相关阅读:
    iOS 证书错误 Certificates下面的 App Store and Ad Hoc是灰的?? 点不了
    iOS 发布证书错误 Your build settings specify a provisioning profile with the UUID, no provisioning profile was found
    不能修改“System Roots”钥匙串 即下载的.cer 文件添加不到钥匙串
    修改 “嗨加游-Prefix.pch” 或者 “嗨加游-Info.plist ” 方法
    Java基础1(2015-8-2)
    认识modernizr----前端
    VS2013的C#项目与SQL Server2012无法连接的问题
    安装完SQL Server 2012后,由Windows身份验证设置为混合型的身份验证
    C#项目,在controller文件夹右击鼠标没有“添加控制器”的问题
    复制已存在的数据库结构(不包括库中的数据)
  • 原文地址:https://www.cnblogs.com/raylee2007/p/4774597.html
Copyright © 2011-2022 走看看