{"action":"created","comment":{"url":"https://api.github.com/repos/gocd/gocd/pulls/comments/31039090","id":31039090,"diff_hunk":"@@ -22,5 +22,4 @@ else\n fi\n export TF_CLC_HOME=$project_root/tfs-tool\n \n-$(dirname $0)/tools/bin/go.jruby -J-Xmx2048m -S buildr $*\n-\n+$(dirname $0)/tools/bin/jruby -S buildr \"$@\"","path":"bn","position":6,"original_position":6,"commit_id":"b1da2bf8ffbe6b4c1006695ad3ca2f3b6aca0ff4","original_commit_id":"b1da2bf8ffbe6b4c1006695ad3ca2f3b6aca0ff4","user":{"login":"ketan","id":10598,"avatar_url":"https://avatars.githubusercontent.com/u/10598?v=3","gravatar_id":"","url":"https://api.github.com/users/ketan","html_url":"https://github.com/ketan","followers_url":"https://api.github.com/users/ketan/followers","following_url":"https://api.github.com/users/ketan/following{/other_user}","gists_url":"https://api.github.com/users/ketan/gists{/gist_id}","starred_url":"https://api.github.com/users/ketan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketan/subscriptions","organizations_url":"https://api.github.com/users/ketan/orgs","repos_url":"https://api.github.com/users/ketan/repos","events_url":"https://api.github.com/users/ketan/events{/privacy}","received_events_url":"https://api.github.com/users/ketan/received_events","type":"User","site_admin":false},"body":"I'm aware of that - the reason I choose to remove that from the top level is because jruby is calling maven which is causing jruby and that is running near the threshold of how much memory is available on the machines.\r\n\r\nSo we can definitely bring back the `-Xmx` param as and when needed for specific operations that need that amount of memory.","created_at":"2015-05-26T14:33:41Z","updated_at":"2015-05-26T14:33:41Z","html_url":"https://github.com/gocd/gocd/pull/1156#discussion_r31039090","pull_request_url":"https://api.github.com/repos/gocd/gocd/pulls/1156","_links":{"self":{"href":"https://api.github.com/repos/gocd/gocd/pulls/comments/31039090"},"html":{"href":"https://github.com/gocd/gocd/pull/1156#discussion_r31039090"},"pull_request":{"href":"https://api.github.com/repos/gocd/gocd/pulls/1156"}}},"pull_request":{"url":"https://api.github.com/repos/gocd/gocd/pulls/1156","id":36206559,"html_url":"https://github.com/gocd/gocd/pull/1156","diff_url":"https://github.com/gocd/gocd/pull/1156.diff","patch_url":"https://github.com/gocd/gocd/pull/1156.patch","issue_url":"https://api.github.com/repos/gocd/gocd/issues/1156","number":1156,"state":"open","locked":false,"title":"Some build script cleanups","user":{"login":"ketan","id":10598,"avatar_url":"https://avatars.githubusercontent.com/u/10598?v=3","gravatar_id":"","url":"https://api.github.com/users/ketan","html_url":"https://github.com/ketan","followers_url":"https://api.github.com/users/ketan/followers","following_url":"https://api.github.com/users/ketan/following{/other_user}","gists_url":"https://api.github.com/users/ketan/gists{/gist_id}","starred_url":"https://api.github.com/users/ketan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketan/subscriptions","organizations_url":"https://api.github.com/users/ketan/orgs","repos_url":"https://api.github.com/users/ketan/repos","events_url":"https://api.github.com/users/ketan/events{/privacy}","received_events_url":"https://api.github.com/users/ketan/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-05-26T14:15:36Z","updated_at":"2015-05-26T14:33:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87f65a51a66b65ed21f013d1ae1d5ba3b50d5059","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gocd/gocd/pulls/1156/commits","review_comments_url":"https://api.github.com/repos/gocd/gocd/pulls/1156/comments","review_comment_url":"https://api.github.com/repos/gocd/gocd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gocd/gocd/issues/1156/comments","statuses_url":"https://api.github.com/repos/gocd/gocd/statuses/b1da2bf8ffbe6b4c1006695ad3ca2f3b6aca0ff4","head":{"label":"ketan:cleanup-jruby-and-build-scripts","ref":"cleanup-jruby-and-build-scripts","sha":"b1da2bf8ffbe6b4c1006695ad3ca2f3b6aca0ff4","user":{"login":"ketan","id":10598,"avatar_url":"https://avatars.githubusercontent.com/u/10598?v=3","gravatar_id":"","url":"https://api.github.com/users/ketan","html_url":"https://github.com/ketan","followers_url":"https://api.github.com/users/ketan/followers","following_url":"https://api.github.com/users/ketan/following{/other_user}","gists_url":"https://api.github.com/users/ketan/gists{/gist_id}","starred_url":"https://api.github.com/users/ketan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketan/subscriptions","organizations_url":"https://api.github.com/users/ketan/orgs","repos_url":"https://api.github.com/users/ketan/repos","events_url":"https://api.github.com/users/ketan/events{/privacy}","received_events_url":"https://api.github.com/users/ketan/received_events","type":"User","site_admin":false},"repo":{"id":30253357,"name":"gocd","full_name":"ketan/gocd","owner":{"login":"ketan","id":10598,"avatar_url":"https://avatars.githubusercontent.com/u/10598?v=3","gravatar_id":"","url":"https://api.github.com/users/ketan","html_url":"https://github.com/ketan","followers_url":"https://api.github.com/users/ketan/followers","following_url":"https://api.github.com/users/ketan/following{/other_user}","gists_url":"https://api.github.com/users/ketan/gists{/gist_id}","starred_url":"https://api.github.com/users/ketan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketan/subscriptions","organizations_url":"https://api.github.com/users/ketan/orgs","repos_url":"https://api.github.com/users/ketan/repos","events_url":"https://api.github.com/users/ketan/events{/privacy}","received_events_url":"https://api.github.com/users/ketan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ketan/gocd","description":"Main repository for Go Continuous Delivery","fork":true,"url":"https://api.github.com/repos/ketan/gocd","forks_url":"https://api.github.com/repos/ketan/gocd/forks","keys_url":"https://api.github.com/repos/ketan/gocd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ketan/gocd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ketan/gocd/teams","hooks_url":"https://api.github.com/repos/ketan/gocd/hooks","issue_events_url":"https://api.github.com/repos/ketan/gocd/issues/events{/number}","events_url":"https://api.github.com/repos/ketan/gocd/events","assignees_url":"https://api.github.com/repos/ketan/gocd/assignees{/user}","branches_url":"https://api.github.com/repos/ketan/gocd/branches{/branch}","tags_url":"https://api.github.com/repos/ketan/gocd/tags","blobs_url":"https://api.github.com/repos/ketan/gocd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ketan/gocd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ketan/gocd/git/refs{/sha}","trees_url":"https://api.github.com/repos/ketan/gocd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ketan/gocd/statuses/{sha}","languages_url":"https://api.github.com/repos/ketan/gocd/languages","stargazers_url":"https://api.github.com/repos/ketan/gocd/stargazers","contributors_url":"https://api.github.com/repos/ketan/gocd/contributors","subscribers_url":"https://api.github.com/repos/ketan/gocd/subscribers","subscription_url":"https://api.github.com/repos/ketan/gocd/subscription","commits_url":"https://api.github.com/repos/ketan/gocd/commits{/sha}","git_commits_url":"https://api.github.com/repos/ketan/gocd/git/commits{/sha}","comments_url":"https://api.github.com/repos/ketan/gocd/comments{/number}","issue_comment_url":"https://api.github.com/repos/ketan/gocd/issues/comments{/number}","contents_url":"https://api.github.com/repos/ketan/gocd/contents/{+path}","compare_url":"https://api.github.com/repos/ketan/gocd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ketan/gocd/merges","archive_url":"https://api.github.com/repos/ketan/gocd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ketan/gocd/downloads","issues_url":"https://api.github.com/repos/ketan/gocd/issues{/number}","pulls_url":"https://api.github.com/repos/ketan/gocd/pulls{/number}","milestones_url":"https://api.github.com/repos/ketan/gocd/milestones{/number}","notifications_url":"https://api.github.com/repos/ketan/gocd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ketan/gocd/labels{/name}","releases_url":"https://api.github.com/repos/ketan/gocd/releases{/id}","created_at":"2015-02-03T16:49:48Z","updated_at":"2015-05-08T13:55:11Z","pushed_at":"2015-05-26T14:17:17Z","git_url":"git://github.com/ketan/gocd.git","ssh_url":"git@github.com:ketan/gocd.git","clone_url":"https://github.com/ketan/gocd.git","svn_url":"https://github.com/ketan/gocd","homepage":null,"size":207785,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gocd:master","ref":"master","sha":"9b5069b1955f17b1f5e120c994f9c453a4b1e324","user":{"login":"gocd","id":6099846,"avatar_url":"https://avatars.githubusercontent.com/u/6099846?v=3","gravatar_id":"","url":"https://api.github.com/users/gocd","html_url":"https://github.com/gocd","followers_url":"https://api.github.com/users/gocd/followers","following_url":"https://api.github.com/users/gocd/following{/other_user}","gists_url":"https://api.github.com/users/gocd/gists{/gist_id}","starred_url":"https://api.github.com/users/gocd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocd/subscriptions","organizations_url":"https://api.github.com/users/gocd/orgs","repos_url":"https://api.github.com/users/gocd/repos","events_url":"https://api.github.com/users/gocd/events{/privacy}","received_events_url":"https://api.github.com/users/gocd/received_events","type":"Organization","site_admin":false},"repo":{"id":15155534,"name":"gocd","full_name":"gocd/gocd","owner":{"login":"gocd","id":6099846,"avatar_url":"https://avatars.githubusercontent.com/u/6099846?v=3","gravatar_id":"","url":"https://api.github.com/users/gocd","html_url":"https://github.com/gocd","followers_url":"https://api.github.com/users/gocd/followers","following_url":"https://api.github.com/users/gocd/following{/other_user}","gists_url":"https://api.github.com/users/gocd/gists{/gist_id}","starred_url":"https://api.github.com/users/gocd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocd/subscriptions","organizations_url":"https://api.github.com/users/gocd/orgs","repos_url":"https://api.github.com/users/gocd/repos","events_url":"https://api.github.com/users/gocd/events{/privacy}","received_events_url":"https://api.github.com/users/gocd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gocd/gocd","description":"Main repository for Go Continuous Delivery","fork":false,"url":"https://api.github.com/repos/gocd/gocd","forks_url":"https://api.github.com/repos/gocd/gocd/forks","keys_url":"https://api.github.com/repos/gocd/gocd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gocd/gocd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gocd/gocd/teams","hooks_url":"https://api.github.com/repos/gocd/gocd/hooks","issue_events_url":"https://api.github.com/repos/gocd/gocd/issues/events{/number}","events_url":"https://api.github.com/repos/gocd/gocd/events","assignees_url":"https://api.github.com/repos/gocd/gocd/assignees{/user}","branches_url":"https://api.github.com/repos/gocd/gocd/branches{/branch}","tags_url":"https://api.github.com/repos/gocd/gocd/tags","blobs_url":"https://api.github.com/repos/gocd/gocd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gocd/gocd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gocd/gocd/git/refs{/sha}","trees_url":"https://api.github.com/repos/gocd/gocd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gocd/gocd/statuses/{sha}","languages_url":"https://api.github.com/repos/gocd/gocd/languages","stargazers_url":"https://api.github.com/repos/gocd/gocd/stargazers","contributors_url":"https://api.github.com/repos/gocd/gocd/contributors","subscribers_url":"https://api.github.com/repos/gocd/gocd/subscribers","subscription_url":"https://api.github.com/repos/gocd/gocd/subscription","commits_url":"https://api.github.com/repos/gocd/gocd/commits{/sha}","git_commits_url":"https://api.github.com/repos/gocd/gocd/git/commits{/sha}","comments_url":"https://api.github.com/repos/gocd/gocd/comments{/number}","issue_comment_url":"https://api.github.com/repos/gocd/gocd/issues/comments{/number}","contents_url":"https://api.github.com/repos/gocd/gocd/contents/{+path}","compare_url":"https://api.github.com/repos/gocd/gocd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gocd/gocd/merges","archive_url":"https://api.github.com/repos/gocd/gocd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gocd/gocd/downloads","issues_url":"https://api.github.com/repos/gocd/gocd/issues{/number}","pulls_url":"https://api.github.com/repos/gocd/gocd/pulls{/number}","milestones_url":"https://api.github.com/repos/gocd/gocd/milestones{/number}","notifications_url":"https://api.github.com/repos/gocd/gocd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gocd/gocd/labels{/name}","releases_url":"https://api.github.com/repos/gocd/gocd/releases{/id}","created_at":"2013-12-13T05:26:16Z","updated_at":"2015-05-26T14:13:34Z","pushed_at":"2015-05-26T14:15:36Z","git_url":"git://github.com/gocd/gocd.git","ssh_url":"git@github.com:gocd/gocd.git","clone_url":"https://github.com/gocd/gocd.git","svn_url":"https://github.com/gocd/gocd","homepage":null,"size":250985,"stargazers_count":1527,"watchers_count":1527,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":253,"mirror_url":null,"open_issues_count":429,"forks":253,"open_issues":429,"watchers":1527,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gocd/gocd/pulls/1156"},"html":{"href":"https://github.com/gocd/gocd/pull/1156"},"issue":{"href":"https://api.github.com/repos/gocd/gocd/issues/1156"},"comments":{"href":"https://api.github.com/repos/gocd/gocd/issues/1156/comments"},"review_comments":{"href":"https://api.github.com/repos/gocd/gocd/pulls/1156/comments"},"review_comment":{"href":"https://api.github.com/repos/gocd/gocd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gocd/gocd/pulls/1156/commits"},"statuses":{"href":"https://api.github.com/repos/gocd/gocd/statuses/b1da2bf8ffbe6b4c1006695ad3ca2f3b6aca0ff4"}}}}