Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-1745

java.lang.OutOfMemoryError was detected during to reindex process on the nodes.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: Benchmarking, Clustering
    • Labels:
      None
    • Environment:
      BM Lab. Clusters are: 1.4, Servers: 3, Alfresco v4.3.0 (build-1704)

      Description

      Next error was detected in the logs on at3, at4 during to reindex process:

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]"
      Exception in thread "hz._hzInstance_1_MainRepository-7a5d826e-5258-47e2-8e5b-788496d7b951.HealthMonitor" Exception in thread "catalina-alfresco-6" 
      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Thread-3"
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      Exception in thread "RMI RenewClean-[172.31.50.53:50508]" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "catalina-alfresco-43" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "DefaultScheduler_QuartzSchedulerThread" Exception in thread "catalina-alfresco-47" 2014-05-18 01:34:00,769  ERROR [transaction.SpringAwareUserTransaction.trace] [Finalizer] Detected first UserTransaction which is being garbage collected without a commit() or rollback()
       Exception in thread "http-apr-8080-Poller" Exception in thread "catalina-alfresco-44" Exception in thread "catalina-alfresco-51" Exception in thread "catalina-alfresco-46" Exception in thread "catalina-alfresco-48" 
      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "catalina-alfresco-65"
      
      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "catalina-alfresco-46"
      Exception in thread "catalina-alfresco-57" Exception in thread "catalina-alfresco-45" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "catalina-alfresco-66" Exception in thread "catalina-alfresco-59" Exception in thread "RMI RenewClean-[172.31.50.53:37207]" Exception in thread "FileStateReaper" Exception in thread "catalina-alfresco-61" Exception in thread "catalina-alfresco-7" Exception in thread "RMI RenewClean-[172.31.50.53:47587,org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory@0]" Exception in thread "catalina-alfresco-42" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "catalina-alfresco-72" java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      Exception in thread "catalina-alfresco-73" Exception in thread "catalina-alfresco-75" Exception in thread "catalina-alfresco-74" java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      Exception in thread "catalina-alfresco-76" Exception in thread "catalina-alfresco-49" java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      May 18, 2014 2:15:18 AM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet [apiServlet] in context with path [/alfresco] threw exception
      java.lang.NullPointerException
      	at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:3102)
      	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2879)
      	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208)
      	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688)
      	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
      	at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:165)
      	at org.apache.log4j.Category.forcedLog(Category.java:391)
      	at org.apache.log4j.Category.log(Category.java:856)
      	at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:229)
      	at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:234)
      	at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2378)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      

      For more information, please, see attachment with logs and ctl.sh files for at3 and at4.

        Attachments

        1. ACE-1745-at3-heap-01.png
          ACE-1745-at3-heap-01.png
          70 kB
        2. ACE-1745-max-size-not-respected.png
          ACE-1745-max-size-not-respected.png
          53 kB
        3. alfresco-global.properties
          5 kB
        4. alfresco-global-modified.properties
          6 kB
        5. alfresco-global-new-cache.properties
          6 kB
        6. ctl.zip
          2 kB
        7. logs.zip
          99 kB
        8. reinex_logs.zip
          116 kB

          Issue Links

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                alfrescoqa Alfresco QA Team
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours
                  1d 4h