{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/18039","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/18039/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/18039/comments","events_url":"https://api.github.com/repos/golang/go/issues/18039/events","html_url":"https://github.com/golang/go/issues/18039","id":191436021,"number":18039,"title":"x/tools: building tip requires more than 4GiB addressing space?","user":{"login":"mikioh","id":92117,"avatar_url":"https://avatars.githubusercontent.com/u/92117?v=3","gravatar_id":"","url":"https://api.github.com/users/mikioh","html_url":"https://github.com/mikioh","followers_url":"https://api.github.com/users/mikioh/followers","following_url":"https://api.github.com/users/mikioh/following{/other_user}","gists_url":"https://api.github.com/users/mikioh/gists{/gist_id}","starred_url":"https://api.github.com/users/mikioh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikioh/subscriptions","organizations_url":"https://api.github.com/users/mikioh/orgs","repos_url":"https://api.github.com/users/mikioh/repos","events_url":"https://api.github.com/users/mikioh/events{/privacy}","received_events_url":"https://api.github.com/users/mikioh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/22","html_url":"https://github.com/golang/go/milestones/Unreleased","labels_url":"https://api.github.com/repos/golang/go/milestones/22/labels","id":1067491,"number":22,"title":"Unreleased","description":"Issues that do not affect released Go code and binaries.\r\n","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars.githubusercontent.com/u/104030?v=3","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":612,"closed_issues":697,"state":"open","created_at":"2015-04-14T18:48:22Z","updated_at":"2016-12-01T01:33:49Z","due_on":"2099-12-31T05:00:00Z","closed_at":null},"comments":1,"created_at":"2016-11-24T05:24:04Z","updated_at":"2016-12-01T01:33:49Z","closed_at":"2016-12-01T01:33:49Z","body":"When building golang.org/x/tools w/ go tip by using go get and go install, the rise in required memory and swap area sizes a bit tremendous (to a node doesn't have much resources). For example,\r\n```\r\n// On linux/amd64, 2GiB memory w/ 2GiB swap area\r\n\r\nwhile :; do cat /proc/meminfo | grep -e ^Mem -e ^Swap; sleep 3; printf \"\\n\"; done\r\n\r\n// Building other repositories like golang.org/x/text\r\n\r\nMemTotal:        2029400 kB\r\nMemFree:          571976 kB\r\nMemAvailable:    1534076 kB\r\nSwapCached:          168 kB\r\nSwapTotal:       2097148 kB\r\nSwapFree:        2096168 kB\r\n\r\nMemTotal:        2029400 kB\r\nMemFree:          574228 kB\r\nMemAvailable:    1537492 kB\r\nSwapCached:          168 kB\r\nSwapTotal:       2097148 kB\r\nSwapFree:        2096168 kB\r\n\r\n// Start building golang.org/x/tools\r\n\r\nMemTotal:        2029400 kB\r\nMemFree:          537288 kB\r\nMemAvailable:    1508624 kB\r\nSwapCached:          168 kB\r\nSwapTotal:       2097148 kB\r\nSwapFree:        2096168 kB\r\n\r\nMemTotal:        2029400 kB\r\nMemFree:          517740 kB\r\nMemAvailable:    1497608 kB\r\nSwapCached:          168 kB\r\nSwapTotal:       2097148 kB\r\nSwapFree:        2096168 kB\r\n\r\nMemTotal:        2029400 kB\r\nMemFree:          501680 kB\r\nMemAvailable:    1497812 kB\r\nSwapCached:          168 kB\r\nSwapTotal:       2097148 kB\r\nSwapFree:        2096168 kB\r\n\r\nMemTotal:        2029400 kB\r\nMemFree:          465808 kB\r\nMemAvailable:    1482736 kB\r\nSwapCached:          168 kB\r\nSwapTotal:       2097148 kB\r\nSwapFree:        2096168 kB\r\n\r\nMemTotal:        2029400 kB\r\nMemFree:           83228 kB\r\nMemAvailable:      25604 kB\r\nSwapCached:        20488 kB\r\nSwapTotal:       2097148 kB\r\nSwapFree:        2038740 kB\r\n\r\nMemTotal:        2029400 kB\r\nMemFree:           76612 kB\r\nMemAvailable:      19920 kB\r\nSwapCached:       124956 kB\r\nSwapTotal:       2097148 kB\r\nSwapFree:        1378308 kB\r\n\r\nMemTotal:        2029400 kB\r\nMemFree:           70112 kB\r\nMemAvailable:      13884 kB\r\nSwapCached:        79820 kB\r\nSwapTotal:       2097148 kB\r\nSwapFree:         750940 kB\r\n\r\nMemTotal:        2029400 kB\r\nMemFree:           54396 kB\r\nMemAvailable:          0 kB\r\nSwapCached:       120232 kB\r\nSwapTotal:       2097148 kB\r\nSwapFree:         288780 kB\r\n\r\nMemTotal:        2029400 kB\r\nMemFree:           53664 kB\r\nMemAvailable:       1824 kB\r\nSwapCached:        60372 kB\r\nSwapTotal:       2097148 kB\r\nSwapFree:          20012 kB\r\n\r\n// Done\r\n\r\nMemTotal:        2029400 kB\r\nMemFree:         1788720 kB\r\nMemAvailable:    1753224 kB\r\nSwapCached:         2032 kB\r\nSwapTotal:       2097148 kB\r\nSwapFree:        1940992 kB\r\n```\r\nJust FYI, @alandonovan.\r\n\r\nPS: I guess that the virtual memory management stuff on BSD variants is less persistent than Linux, so the build on a BSD node with the same resources perhaps could fail caused by out of swap space."},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/264052408","html_url":"https://github.com/golang/go/issues/18039#issuecomment-264052408","issue_url":"https://api.github.com/repos/golang/go/issues/18039","id":264052408,"user":{"login":"mikioh","id":92117,"avatar_url":"https://avatars.githubusercontent.com/u/92117?v=3","gravatar_id":"","url":"https://api.github.com/users/mikioh","html_url":"https://github.com/mikioh","followers_url":"https://api.github.com/users/mikioh/followers","following_url":"https://api.github.com/users/mikioh/following{/other_user}","gists_url":"https://api.github.com/users/mikioh/gists{/gist_id}","starred_url":"https://api.github.com/users/mikioh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikioh/subscriptions","organizations_url":"https://api.github.com/users/mikioh/orgs","repos_url":"https://api.github.com/users/mikioh/repos","events_url":"https://api.github.com/users/mikioh/events{/privacy}","received_events_url":"https://api.github.com/users/mikioh/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T01:33:49Z","updated_at":"2016-12-01T01:33:49Z","body":"Looks like this issue comes from #16394, and #18078 patched up. Closing."}}
{"actor":{"display_login":"mikioh"}}