java.lang.OutOfMemoryError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Ioannis Mavroukakis,
  • 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)
    via by Ioannis Mavroukakis,
  • Out of Memory on Tomcat Shutdown
    via Stack Overflow by Yashima
    ,
  • WSO2 CEP - Out of Memory
    via Stack Overflow by Rajiv Patil
    ,
    • 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)

    Users with the same issue

    nasimk
    1 times, last one,
    poroszd
    530 times, last one,
    Unknown visitor1 times, last one,
    Reich
    4 times, last one,
    Unknown visitor1 times, last one,
    50 more bugmates