Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3012

Fix 'fuse-project' job - Insufficient memory

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Critical Critical
    • 11.1.0.AM1
    • 11.0.0.AM3
    • QE
    • None
    • 11.0.0.Final - QE, 11.1.0.AM1 - QE

      Our job fuse-project fails with the following error:

      OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f0ce57f0000, 65536, 1) failed; error='Cannot allocate memory' (errno=12)
      #
      # There is insufficient memory for the Java Runtime Environment to continue.
      # Native memory allocation (mmap) failed to map 65536 bytes for committing reserved memory.
      # An error report file with more information is saved as:
      # /mnt/hudson_workspace/workspace/fuse-project/CAMEL_VERSION/2.21.0.fuse-000077-redhat-1/DEPLOYMENT_TYPE/Standalone/RUNTIME_TYPE/SpringBoot/label/linux/jbosstools-fuse/uitests/tests/org.jboss.tools.fuse.ui.bot.tests/target/work sp@cé/rfhaSS234ss/hs_err_pid11849.log
      #
      # Compiler replay data is saved as:
      # /mnt/hudson_workspace/workspace/fuse-project/CAMEL_VERSION/2.21.0.fuse-000077-redhat-1/DEPLOYMENT_TYPE/Standalone/RUNTIME_TYPE/SpringBoot/label/linux/jbosstools-fuse/uitests/tests/org.jboss.tools.fuse.ui.bot.tests/target/work sp@cé/rfhaSS234ss/replay_pid11849.log
       TooltipText=null
      21:22:08.531 INFO [WorkbenchTestable][AbstractView] Terminating console
      21:22:08.531 INFO [WorkbenchTestable][AbstractView] Activate view Console
      21:22:08.531 INFO [WorkbenchTestable][AbstractCTabItem] Activate Console
      21:22:08.540 DEBUG [WorkbenchTestable][WorkbenchPartHandler] Active workbench control=Class=org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer$1 Text=<unavailable> TooltipText=null
      21:22:08.541 DEBUG [WorkbenchTestable][WorkbenchPartHandler] Focused control=Class=org.eclipse.swt.custom.StyledText Text=[INFO] Scanning for projects...
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Fabric8 :: Quickstarts :: Spring-Boot :: Camel XML 1.0.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f0ce57f0000, 65536, 1) failed; error='Cannot allocate memory' (errno=12)
      #
      # There is insufficient memory for the Java Runtime Environment to continue.
      # Native memory allocation (mmap) failed to map 65536 bytes for committing reserved memory.
      # An error report file with more information is saved as:
      # /mnt/hudson_workspace/workspace/fuse-project/CAMEL_VERSION/2.21.0.fuse-000077-redhat-1/DEPLOYMENT_TYPE/Standalone/RUNTIME_TYPE/SpringBoot/label/linux/jbosstools-fuse/uitests/tests/org.jboss.tools.fuse.ui.bot.tests/target/work sp@cé/rfhaSS234ss/hs_err_pid11849.log
      #
      # Compiler replay data is saved as:
      # /mnt/hudson_workspace/workspace/fuse-project/CAMEL_VERSION/2.21.0.fuse-000077-redhat-1/DEPLOYMENT_TYPE/Standalone/RUNTIME_TYPE/SpringBoot/label/linux/jbosstools-fuse/uitests/tests/org.jboss.tools.fuse.ui.bot.tests/target/work sp@cé/rfhaSS234ss/replay_pid11849.log
      # 

      It looks like, only standalone-karaf combination is affected due to greater count of templates.

      Solution: try to increase available memory?

              tsedmik Tomáš Sedmík
              tsedmik Tomáš Sedmík
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1 day Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days
                  3d