{"action":"created","issue":{"url":"https://api.github.com/repos/nskvortsov/test/issues/148","labels_url":"https://api.github.com/repos/nskvortsov/test/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/nskvortsov/test/issues/148/comments","events_url":"https://api.github.com/repos/nskvortsov/test/issues/148/events","html_url":"https://github.com/nskvortsov/test/issues/148","id":54158871,"number":148,"title":"Out of Memory Exception","user":{"login":"nskvortsov","id":539027,"avatar_url":"https://avatars.githubusercontent.com/u/539027?v=3","gravatar_id":"","url":"https://api.github.com/users/nskvortsov","html_url":"https://github.com/nskvortsov","followers_url":"https://api.github.com/users/nskvortsov/followers","following_url":"https://api.github.com/users/nskvortsov/following{/other_user}","gists_url":"https://api.github.com/users/nskvortsov/gists{/gist_id}","starred_url":"https://api.github.com/users/nskvortsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nskvortsov/subscriptions","organizations_url":"https://api.github.com/users/nskvortsov/orgs","repos_url":"https://api.github.com/users/nskvortsov/repos","events_url":"https://api.github.com/users/nskvortsov/events{/privacy}","received_events_url":"https://api.github.com/users/nskvortsov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-13T07:26:48Z","updated_at":"2015-01-13T07:26:49Z","closed_at":"2015-01-13T07:26:48Z","body":"I'm consistently getting a Java out of memory exception when trying to copy zip files around 15 MB using the SMB Deployer. \n\nI've set the wrapper.java.maxmemory property in the wrapper.conf of the agent to 900MB, it had previously set to the default (64). This did not seem to make a difference. \n\nLet me know if there is any more information i can provide.\n\nStack:\n[Step 2/2] Failed to start build runner 'smb-deploy-runner'\njava.lang.OutOfMemoryError: unable to create new native thread\n\tat java.lang.Thread.start0(Native Method)\n\tat java.lang.Thread.start(Unknown Source)\n\tat jcifs.UniAddress.lookupServerOrWorkgroup(UniAddress.java:173)\n\tat jcifs.UniAddress.getAllByName(UniAddress.java:290)\n\tat jcifs.UniAddress.getByName(UniAddress.java:245)\n\tat jcifs.smb.Dfs.getTrustedDomains(Dfs.java:62)\n\tat jcifs.smb.Dfs.resolve(Dfs.java:167)\n\tat jcifs.smb.SmbFile.resolveDfs(SmbFile.java:671)\n\tat jcifs.smb.SmbFile.send(SmbFile.java:773)\n\tat jcifs.smb.SmbFileOutputStream.writeDirect(SmbFileOutputStream.java:245)\n\tat jcifs.smb.SmbFileOutputStream.write(SmbFileOutputStream.java:216)\n\tat jetbrains.buildServer.util.TCStreamUtil.writeBinary(TCStreamUtil.java:103)\n\tat jetbrains.buildServer.util.TCStreamUtil.writeBinary(TCStreamUtil.java:89)\n\tat jetbrains.buildServer.util.FileUtil.copyStreams(FileUtil.java:469)\n\tat jetbrains.buildServer.util.FileUtil.copy(FileUtil.java:1316)\n\tat jetbrains.buildServer.deployer.agent.smb.SMBBuildProcessAdapter.upload(SMBBuildProcessAdapter.java:117)\n\tat jetbrains.buildServer.deployer.agent.smb.SMBBuildProcessAdapter.runProcess(SMBBuildProcessAdapter.java:80)\n\tat jetbrains.buildServer.deployer.agent.SyncBuildProcessAdapter.start(SyncBuildProcessAdapter.java:58)\n\tat jetbrains.buildServer.agent.impl.buildStages.runnerStages.start.CallRunnerStage.doBuildStage(CallRunnerStage.java:58)\n\tat jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:25)\n\tat jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:18)\n\tat jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78)\n\tat jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37)\n\tat jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor.doStages(RunnerStagesExecutor.java:18)\n\tat jetbrains.buildServer.agent.impl.buildStages.startStages.steps.RunnerContextExecutor.callRunnerStages(RunnerContextExecutor.java:43)\n\tat jetbrains.buildServer.agent.impl.buildStages.startStages.steps.StepExecutor.doProcessNextStep(StepExecutor.java:89)\n\tat jetbrains.buildServer.agent.impl.buildStages.startStages.steps.StepExecutor.processNextStep(StepExecutor.java:44)\n\tat jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.doBuildStage(ForEachBuildRunnerStage.java:77)\n\tat jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31)\n\tat jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:24)\n\tat jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78)\n\tat jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37)\n\tat jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24)\n\tat jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:70)\n\tat jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:50)\n\tat jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:247)\n\tat jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:48)\n\tat jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:220)\n\tat java.lang.Thread.run(Unknown Source)\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/nskvortsov/deployer/issue/20\n- Originally reported by: Anonymous\n- Originally created at: 2013-09-05T16:15:28.554\n"},"comment":{"url":"https://api.github.com/repos/nskvortsov/test/issues/comments/69705326","html_url":"https://github.com/nskvortsov/test/issues/148#issuecomment-69705326","issue_url":"https://api.github.com/repos/nskvortsov/test/issues/148","id":69705326,"user":{"login":"nskvortsov","id":539027,"avatar_url":"https://avatars.githubusercontent.com/u/539027?v=3","gravatar_id":"","url":"https://api.github.com/users/nskvortsov","html_url":"https://github.com/nskvortsov","followers_url":"https://api.github.com/users/nskvortsov/followers","following_url":"https://api.github.com/users/nskvortsov/following{/other_user}","gists_url":"https://api.github.com/users/nskvortsov/gists{/gist_id}","starred_url":"https://api.github.com/users/nskvortsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nskvortsov/subscriptions","organizations_url":"https://api.github.com/users/nskvortsov/orgs","repos_url":"https://api.github.com/users/nskvortsov/repos","events_url":"https://api.github.com/users/nskvortsov/events{/privacy}","received_events_url":"https://api.github.com/users/nskvortsov/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T07:26:49Z","updated_at":"2015-01-13T07:26:49Z","body":"@dtmnash did you have a chance to try the workaround?\n\n----------------------------------------\nOriginal comment by: Nikita Skvortsov\n"}}