{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/28411","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/28411/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/28411/comments","events_url":"https://api.github.com/repos/golang/go/issues/28411/events","html_url":"https://github.com/golang/go/issues/28411","id":374332795,"node_id":"MDU6SXNzdWUzNzQzMzI3OTU=","number":28411,"title":"Golang leaks memory","user":{"login":"Al2Klimov","id":6053266,"node_id":"MDQ6VXNlcjYwNTMyNjY=","avatar_url":"https://avatars0.githubusercontent.com/u/6053266?v=4","gravatar_id":"","url":"https://api.github.com/users/Al2Klimov","html_url":"https://github.com/Al2Klimov","followers_url":"https://api.github.com/users/Al2Klimov/followers","following_url":"https://api.github.com/users/Al2Klimov/following{/other_user}","gists_url":"https://api.github.com/users/Al2Klimov/gists{/gist_id}","starred_url":"https://api.github.com/users/Al2Klimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Al2Klimov/subscriptions","organizations_url":"https://api.github.com/users/Al2Klimov/orgs","repos_url":"https://api.github.com/users/Al2Klimov/repos","events_url":"https://api.github.com/users/Al2Klimov/events{/privacy}","received_events_url":"https://api.github.com/users/Al2Klimov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-26T10:58:37Z","updated_at":"2018-10-26T13:53:19Z","closed_at":"2018-10-26T13:33:49Z","author_association":"NONE","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n\r\n### What version of Go are you using (`go version`)?\r\n\r\ngo version go1.11.1 darwin/amd64\r\n\r\n### Does this issue reproduce with the latest release?\r\n\r\nAFAIK my version IS the latest release.\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\n\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOCACHE=\"/Users/CENSORED/Library/Caches/go-build\"\r\nGOEXE=\"\"\r\nGOFLAGS=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"darwin\"\r\nGOOS=\"darwin\"\r\nGOPATH=\"/Users/CENSORED/golang\"\r\nGOPROXY=\"\"\r\nGORACE=\"\"\r\nGOROOT=\"/Users/CENSORED/Cellar/go/1.11.1/libexec\"\r\nGOTMPDIR=\"\"\r\nGOTOOLDIR=\"/Users/CENSORED/Cellar/go/1.11.1/libexec/pkg/tool/darwin_amd64\"\r\nGCCGO=\"gccgo\"\r\nCC=\"clang\"\r\nCXX=\"clang++\"\r\nCGO_ENABLED=\"1\"\r\nGOMOD=\"\"\r\nCGO_CFLAGS=\"-g -O2\"\r\nCGO_CPPFLAGS=\"\"\r\nCGO_CXXFLAGS=\"-g -O2\"\r\nCGO_FFLAGS=\"-g -O2\"\r\nCGO_LDFLAGS=\"-g -O2\"\r\nPKG_CONFIG=\"pkg-config\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/CENSORED=/tmp/go-build -gno-record-gcc-switches -fno-common\"\r\n\r\n### What did you do?\r\n\r\nI ran https://github.com/Al2Klimov/go-mem-poc.\r\n\r\n### What did you expect to see?\r\n\r\nGolang frees memory ASAP or at least on request.\r\n\r\n### What did you see instead?\r\n\r\nGolang doesn't free any memory."},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/433415416","html_url":"https://github.com/golang/go/issues/28411#issuecomment-433415416","issue_url":"https://api.github.com/repos/golang/go/issues/28411","id":433415416,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzQxNTQxNg==","user":{"login":"Al2Klimov","id":6053266,"node_id":"MDQ6VXNlcjYwNTMyNjY=","avatar_url":"https://avatars0.githubusercontent.com/u/6053266?v=4","gravatar_id":"","url":"https://api.github.com/users/Al2Klimov","html_url":"https://github.com/Al2Klimov","followers_url":"https://api.github.com/users/Al2Klimov/followers","following_url":"https://api.github.com/users/Al2Klimov/following{/other_user}","gists_url":"https://api.github.com/users/Al2Klimov/gists{/gist_id}","starred_url":"https://api.github.com/users/Al2Klimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Al2Klimov/subscriptions","organizations_url":"https://api.github.com/users/Al2Klimov/orgs","repos_url":"https://api.github.com/users/Al2Klimov/repos","events_url":"https://api.github.com/users/Al2Klimov/events{/privacy}","received_events_url":"https://api.github.com/users/Al2Klimov/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T13:53:19Z","updated_at":"2018-10-26T13:53:19Z","author_association":"NONE","body":"@bcmills Even if I understood you right, Go still leaks memory for IMO too long (see the updated program I linked) – that's 1m or more."}}
{"actor":{"display_login":"Al2Klimov"}}