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

remote file operation failed due to OutOfMemory on slave

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None
    • mac os x 10.6

      Jobs are failing due to the following stack trace. Passing -Xmx512 seems to workaround the issue. Please provide:
      1) fix for OutOfMemoryException
      2) guidance/documentation on proper JVM params. We are running a large svn checkout (over 1GB) and there is a large amount of console output.

      SEVERE: Error while serving <REMOVED>/descriptorByName/hudson.tasks.junit.JUnitResultArchiver/checkTestResults
      java.lang.reflect.InvocationTargetException
      <REMOVED>
      Caused by: hudson.util.IOException2: remote file operation failed: /Users/tester/hud
      son/data/workspace/BR_ENG_SRVCS_DEV_BOX_ALL_START at hudson.remoting.Channel@3995207
      2:ES - devbox3
      at hudson.FilePath.act(FilePath.java:749)
      at hudson.FilePath.act(FilePath.java:735)
      at hudson.FilePath.validateAntFileMask(FilePath.java:1615)
      at hudson.FilePath.validateFileMask(FilePath.java:1765)
      at hudson.FilePath.validateFileMask(FilePath.java:1745)
      at hudson.FilePath.validateFileMask(FilePath.java:1738)
      at hudson.tasks.junit.JUnitResultArchiver$DescriptorImpl.doCheckTestResults(
      JUnitResultArchiver.java:260)
      ... 61 more
      Caused by: java.io.IOException: Remote call on <REMOVED> failed
      at hudson.remoting.Channel.call(Channel.java:581)
      at hudson.FilePath.act(FilePath.java:742)
      ... 67 more
      Caused by: java.lang.OutOfMemoryError: Java heap space
      at java.io.UnixFileSystem.list(Native Method)
      at java.io.File.list(File.java:973)
      at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1055)
      at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100)
      at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100)
      at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100)
      at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100)
      at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100)
      at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100)

            Unassigned Unassigned
            lmaung lmaung
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: