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

Publish over CIFS fails with Out of memory error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None

      When attempting to deploy to a windows share, I consistently get the following exception:

      CIFS: Connecting from host [xxxxxxxx]
      CIFS: Connecting with configuration [GiveupDevShare] ...
      CIFS: Disconnecting configuration [GiveupDevShare] ...
      FATAL: unable to create new native thread
      java.lang.OutOfMemoryError: unable to create new native thread
      at java.lang.Thread.start0(Native Method)
      at java.lang.Thread.start(Thread.java:640)
      at jcifs.UniAddress.lookupServerOrWorkgroup(UniAddress.java:173)
      at jcifs.UniAddress.getAllByName(UniAddress.java:290)
      at jcifs.UniAddress.getByName(UniAddress.java:245)
      at jcifs.smb.Dfs.getTrustedDomains(Dfs.java:62)
      at jcifs.smb.Dfs.resolve(Dfs.java:167)
      at jcifs.smb.SmbFile.resolveDfs(SmbFile.java:666)
      at jcifs.smb.SmbFile.send(SmbFile.java:768)
      at jcifs.smb.SmbFile.close(SmbFile.java:1016)
      at jcifs.smb.SmbFile.close(SmbFile.java:1022)
      at jcifs.smb.SmbFile.close(SmbFile.java:1026)
      at jcifs.smb.SmbFileOutputStream.close(SmbFileOutputStream.java:164)
      at jenkins.plugins.publish_over_cifs.CifsClient.transferFile(CifsClient.java:107)
      at jenkins.plugins.publish_over_cifs.CifsClient.transferFile(CifsClient.java:39)
      at jenkins.plugins.publish_over.BPTransfer.transferFile(BPTransfer.java:172)
      at jenkins.plugins.publish_over.BPTransfer.transfer(BPTransfer.java:162)
      at jenkins.plugins.publish_over.BapPublisher.perform(BapPublisher.java:146)
      at jenkins.plugins.publish_over_cifs.CifsPublisher.perform(CifsPublisher.java:60)
      at jenkins.plugins.publish_over.BPCallablePublisher.invoke(BPCallablePublisher.java:64)
      at jenkins.plugins.publish_over.BPCallablePublisher.invoke(BPCallablePublisher.java:37)
      at hudson.FilePath.act(FilePath.java:905)
      at hudson.FilePath.act(FilePath.java:878)
      at jenkins.plugins.publish_over.BPInstanceConfig.perform(BPInstanceConfig.java:124)
      at jenkins.plugins.publish_over.BPPlugin.perform(BPPlugin.java:109)
      at jenkins.plugins.publish_over_cifs.CifsBuilderPlugin.perform(CifsBuilderPlugin.java:60)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
      at hudson.model.Build$BuildExecution.build(Build.java:199)
      at hudson.model.Build$BuildExecution.doRun(Build.java:160)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)
      at hudson.model.Run.execute(Run.java:1593)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:247)

            bap bap
            imavroukakis Ioannis Mavroukakis
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: