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

Start up Error: java.lang.OutOfMemoryError: Metaspace

    Details

      Description

      Step to reproduce:

      1. Start up a clean 7.1.x-private bundle.

      Except Result: Start up without error.
      Actual Result: There is a error on console:

      16-May-2019 06:07:25.113 涓ラ噸 [main] org.apache.catalina.startup.HostConfig.deployDescriptors Error waiting for multi-thread deployment of deployment descriptors to complete
       java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Metaspace
              at java.util.concurrent.FutureTask.report(FutureTask.java:122)
              at java.util.concurrent.FutureTask.get(FutureTask.java:192)
              at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:532)
              at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
              at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
              at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
              at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
              at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
              at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
              at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
              at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
              at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
              at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
              at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
              at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
              at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
              at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
              at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
              at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
              at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
      Caused by: java.lang.OutOfMemoryError: Metaspace
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
              at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2415)
              at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:863)
              at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332)
              at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1186)
              at org.apache.abdera.i18n.iri.IRI.preinit(IRI.java:596)
              at org.apache.abdera.Abdera.<init>(Abdera.java:83)
              at org.apache.abdera.Abdera.<init>(Abdera.java:73)
              at org.apache.abdera.protocol.server.ServiceManager.getAbdera(ServiceManager.java:56)
              at org.apache.abdera.protocol.server.servlet.AbderaServlet.getAbdera(AbderaServlet.java:65)
              at com.liferay.portal.servlet.AtomServlet.createProvider(AtomServlet.java:46)
              at org.apache.abdera.protocol.server.servlet.AbderaServlet.init(AbderaServlet.java:60)
              at javax.servlet.GenericServlet.init(GenericServlet.java:158)
              at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1123)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1078)
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:971)
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4868)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5184)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
              at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
              at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
              at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
              at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
              at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sylvia.luan Sylvia Luan
              Reporter:
              sylvia.luan Sylvia Luan
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 33 weeks, 5 days ago

                  Packages

                  Version Package
                  7.1.X
                  7.2.1 CE GA2
                  7.2.X