{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/16097","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/16097/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/16097/comments","events_url":"https://api.github.com/repos/golang/go/issues/16097/events","html_url":"https://github.com/golang/go/issues/16097","id":160968975,"number":16097,"title":"x/exp/inotify: Watcher.paths leaks memory","user":{"login":"krousey","id":157083,"avatar_url":"https://avatars.githubusercontent.com/u/157083?v=3","gravatar_id":"","url":"https://api.github.com/users/krousey","html_url":"https://github.com/krousey","followers_url":"https://api.github.com/users/krousey/followers","following_url":"https://api.github.com/users/krousey/following{/other_user}","gists_url":"https://api.github.com/users/krousey/gists{/gist_id}","starred_url":"https://api.github.com/users/krousey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krousey/subscriptions","organizations_url":"https://api.github.com/users/krousey/orgs","repos_url":"https://api.github.com/users/krousey/repos","events_url":"https://api.github.com/users/krousey/events{/privacy}","received_events_url":"https://api.github.com/users/krousey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"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":515,"closed_issues":529,"state":"open","created_at":"2015-04-14T18:48:22Z","updated_at":"2016-06-23T01:11:01Z","due_on":"2099-12-31T05:00:00Z","closed_at":null},"comments":6,"created_at":"2016-06-17T20:29:32Z","updated_at":"2016-06-23T01:11:01Z","closed_at":"2016-06-23T01:11:01Z","body":"`inotify.Watcher.RemoveWatch` cleans up the `Watcher.watches` map, but doesn't remove the entry from `Watcher.paths`.\r\n\r\n1. What version of Go are you using (`go version`)?\r\n\r\ngo version go1.6.2 linux/amd64\r\n\r\n2. What operating system and processor architecture are you using (`go env`)?\r\n\r\nlinux amd64\r\n\r\n3. What did you do?\r\n\r\nAdded and removed files from an `inotify.Watcher`. \r\n\r\nhttps://play.golang.org/p/n95Yttt4Xi\r\n\r\n\r\n4. What did you expect to see?\r\n\r\nMemory usage not to continually increase.\r\n\r\n5. What did you see instead?\r\n\r\nMemory usage steadily increased.\r\n\r\n\r\n"}}
{"actor":{"display_login":"gopherbot"}}