{"action":"opened","issue":{"url":"https://api.github.com/repos/hexjelly/hexbot/issues/8","labels_url":"https://api.github.com/repos/hexjelly/hexbot/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/hexjelly/hexbot/issues/8/comments","events_url":"https://api.github.com/repos/hexjelly/hexbot/issues/8/events","html_url":"https://github.com/hexjelly/hexbot/issues/8","id":114514320,"number":8,"title":"Possible memory leak","user":{"login":"hexjelly","id":435283,"avatar_url":"https://avatars.githubusercontent.com/u/435283?v=3","gravatar_id":"","url":"https://api.github.com/users/hexjelly","html_url":"https://github.com/hexjelly","followers_url":"https://api.github.com/users/hexjelly/followers","following_url":"https://api.github.com/users/hexjelly/following{/other_user}","gists_url":"https://api.github.com/users/hexjelly/gists{/gist_id}","starred_url":"https://api.github.com/users/hexjelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hexjelly/subscriptions","organizations_url":"https://api.github.com/users/hexjelly/orgs","repos_url":"https://api.github.com/users/hexjelly/repos","events_url":"https://api.github.com/users/hexjelly/events{/privacy}","received_events_url":"https://api.github.com/users/hexjelly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-02T02:50:53Z","updated_at":"2015-11-02T02:50:53Z","closed_at":null,"body":"Having ran the bot for a couple of hours in a live setting, pm2 is reporting fluctuating and slowly increasing memory usage. Not sure what the deal is and if garbage collecting eventually takes care of it, but it seems unlikely. Probably something do to with stupid closures that's still somewhat foreign of a concept to me with how it works, or maybe some callback stuff with passing the bot object into the closures. Ugh."}}