java.lang.OutOfMemoryError: unable to create new native thread

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Ioannis Mavroukakis, 1 year ago
unable to create new native thread
via Jenkins JIRA by Ioannis Mavroukakis, 1 year ago
unable to create new native thread
via GitHub by nskvortsov
, 2 years ago
unable to create new native thread
via jetbrains.com by Unknown author, 1 year ago
unable to create new native thread
via GitHub by mnowrot
, 2 years ago
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)

Users with the same issue

10 times, 1 week ago
Once, 6 months ago
530 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
4 times, 11 months ago
59 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.