Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6878

OutOfMemory while archiving artifacts since 1.363

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Windows Server 2008 R2, JDK 1.6.0_20
      Windows Server 2003, JDK 1.6.0_20

      After I upgraded my hudson installation to 1.364 archiving big files (> 500m) started to fail with the exception below. In 1.363 I have the same problem.

      After downgrading to 1.362 everything seems to be fine again.

      BUILD SUCCESSFUL
      Total time: 20 minutes 44 seconds
      Archiviere Artefakte
      ERROR: Artefakte konnten nicht archiviert werden: pde/build/M.*/,pde/build/buildRepo/*/,pde/build/installer.properties
      hudson.util.IOException2: Failed to copy D:\hudson\jobs\SolutionCenter_Build\workspace/pde/build/M.*/,pde/build/buildRepo/*/,pde/build/installer.properties to D:\hudson\jobs\SolutionCenter_Build\builds\2010-06-29_12-08-03\archive
      at hudson.FilePath$31.invoke(FilePath.java:1451)
      at hudson.FilePath$31.invoke(FilePath.java:1418)
      at hudson.FilePath.act(FilePath.java:753)
      at hudson.FilePath.act(FilePath.java:735)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:1418)
      at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      at hudson.model.Build$RunnerImpl.post2(Build.java:158)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      at hudson.model.Run.run(Run.java:1276)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:127)
      Caused by: Failed to copy D:\hudson\jobs\SolutionCenter_Build\workspace\pde\build\M.DML\DML-win32.win32.x86.zip to D:\hudson\jobs\SolutionCenter_Build\builds\2010-06-29_12-08-03\archive\pde\build\M.DML\DML-win32.win32.x86.zip due to Map failed
      at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:853)
      at hudson.FilePath$31$1CopyImpl.doFileOperations(FilePath.java:1434)
      at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:523)
      at hudson.FilePath$31.invoke(FilePath.java:1448)
      ... 15 more
      Caused by: java.io.IOException: Map failed
      at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:758)
      at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java:447)
      at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:520)
      at org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:475)
      at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:519)
      at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:481)
      at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:310)
      at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:841)
      ... 18 more
      Caused by: java.lang.OutOfMemoryError: Map failed
      at sun.nio.ch.FileChannelImpl.map0(Native Method)
      at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:755)
      ... 25 more
      Zeichne Fingerabrücke auf

            Unassigned Unassigned
            chris_mh3 chris_mh3
            Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: