Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-60403

java.lang.OutOfMemoryError: PermGen space running JBoss EAP 6.4

    Details

      Description

      Getting a OutOfMemoryError for PermGen space when performing actions for the first time on (ie adding a Web Content in the control panel) on JBoss EAP 6.4. Subsequent restarts of the server does not run into an out of memory error for PermGen.

      Need to increase the PermGen space from 256m to 384m.

      18:51:02,588 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/].[jsp]] (http-/127.0.0.1:8080-5) JBWEB000236: Servlet.service() for servlet jsp threw exception: java.lang.OutOfMemoryError: PermGen space
              at org.apache.jasper.compiler.Jsr199JavaCompiler.compile(Jsr199JavaCompiler.java:266)
              at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:384) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
              at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
              at com.liferay.portal.servlet.jsp.compiler.JspServlet.service(JspServlet.java:274)
              at com.liferay.portal.servlet.jsp.compiler.JspServlet.service(JspServlet.java:285)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
              at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
              at com.liferay.portal.portlet.tracker.internal.PortletTracker$RestrictPortletServletRequestFilter.doFilter(PortletTracker.java:1433)
              at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:118)
              at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
              at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:71)
              at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:98)
              at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:45)
              at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:59) [portal-impl.jar:]
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:75) [portal-impl.jar:]
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:52) [portal-impl.jar:]
              at com.liferay.taglib.search.JSPSearchEntry.print(JSPSearchEntry.java:76) [util-taglib.jar:]
              at org.apache.jsp.html.taglib.ui.search_005fiterator.lexicon.descriptive_jsp._jspService(descriptive_jsp.java:614)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119) [portal-service.jar:]
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 6 days ago

                Packages

                Version Package
                7.0.0 Alpha 3