1 Reply Latest reply on Jan 12, 2009 9:09 AM by Ronald van Kuijk

    HELP!java.lang.OutOfMemoryError: PermGen space

    HC Kanty Newbie

      in jbpm-bpel/processes.jsp, I select the bpel example hello zip file and click the deploy button,but I find some information at jboss 4.2 console.

      16:01:18,062 ERROR [[deploymentServlet]] Servlet.service() for servlet deploymen
      tServlet threw exception
      java.lang.OutOfMemoryError: PermGen space
       at java.lang.ClassLoader.defineClass1(Native Method)
       at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
       at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
      4)
       at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
      ClassLoader.java:1814)
       at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
      der.java:872)
       at org.jboss.web.tomcat.service.WebAppClassLoader.findClass(WebAppClassL
      oader.java:75)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1325)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1204)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
       at com.sun.xml.rpc.streaming.XMLReaderImpl.<init>(XMLReaderImpl.java:46)
      
       at com.sun.xml.rpc.streaming.XMLReaderFactoryImpl.createXMLReader(XMLRea
      derFactoryImpl.java:39)
       at com.sun.xml.rpc.streaming.XMLReaderFactoryImpl.createXMLReader(XMLRea
      derFactoryImpl.java:35)
       at com.sun.xml.rpc.streaming.XMLReaderFactoryImpl.createXMLReader(XMLRea
      derFactoryImpl.java:27)
       at com.sun.xml.rpc.tools.plugin.ToolPluginFactory.<init>(ToolPluginFacto
      ry.java:172)
       at com.sun.xml.rpc.tools.plugin.ToolPluginFactory.<clinit>(ToolPluginFac
      tory.java:61)
       at com.sun.xml.rpc.tools.wscompile.CompileTool.parseArguments(CompileToo
      l.java:488)
       at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:38)
       at org.jbpm.bpel.tools.WscompileTool.callWscompile(WscompileTool.java:22
      5)
       at org.jbpm.bpel.tools.WscompileTool.generateJavaMappingImpl(WscompileTo
      ol.java:156)
       at org.jbpm.bpel.tools.WscompileTool.generateJavaMapping(WscompileTool.j
      ava:143)
       at org.jbpm.bpel.tools.WebModuleBuilder.callJavaMappingTool(WebModuleBui
      lder.java:270)
       at org.jbpm.bpel.tools.WebModuleBuilder.buildModuleImpl(WebModuleBuilder
      .java:102)
       at org.jbpm.bpel.tools.WebModuleBuilder.buildModule(WebModuleBuilder.jav
      a:84)
       at org.jbpm.bpel.web.DeploymentServlet.deployWebModule(DeploymentServlet
      .java:220)
       at org.jbpm.bpel.web.DeploymentServlet.deployProcessDefinition(Deploymen
      tServlet.java:199)
       at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:111
      )
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)