{"action":"created","issue":{"url":"https://api.github.com/repos/alexisbernard/rorvswild/issues/1","repository_url":"https://api.github.com/repos/alexisbernard/rorvswild","labels_url":"https://api.github.com/repos/alexisbernard/rorvswild/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/alexisbernard/rorvswild/issues/1/comments","events_url":"https://api.github.com/repos/alexisbernard/rorvswild/issues/1/events","html_url":"https://github.com/alexisbernard/rorvswild/issues/1","id":159546130,"number":1,"title":"Significant memory bloat","user":{"login":"coreyward","id":81224,"avatar_url":"https://avatars.githubusercontent.com/u/81224?v=3","gravatar_id":"","url":"https://api.github.com/users/coreyward","html_url":"https://github.com/coreyward","followers_url":"https://api.github.com/users/coreyward/followers","following_url":"https://api.github.com/users/coreyward/following{/other_user}","gists_url":"https://api.github.com/users/coreyward/gists{/gist_id}","starred_url":"https://api.github.com/users/coreyward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreyward/subscriptions","organizations_url":"https://api.github.com/users/coreyward/orgs","repos_url":"https://api.github.com/users/coreyward/repos","events_url":"https://api.github.com/users/coreyward/events{/privacy}","received_events_url":"https://api.github.com/users/coreyward/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-10T02:10:04Z","updated_at":"2016-10-23T18:35:13Z","closed_at":null,"body":"This gem resulted in significant memory bloat for me. \r\n\r\n![screen shot 2016-06-09 at 9 05 38 pm](https://cloud.githubusercontent.com/assets/81224/15952385/fbbce412-2e85-11e6-91d7-53f842658321.png)\r\n\r\nYou can see from studying the Heroku metrics charts above that the memory consumption (puma, single worker, 3 threads) when under load (load testing, various settings) would spike and level off at ~700MB prior to v148 being deployed. The only change deployed was removing Rorvswild.\r\n\r\nWithout this gem, memory, even after thousands of requests, remains consistent at ~260MB.\r\n\r\nThe install was pretty simple. Just the gem and the following initializer:\r\n\r\n```ruby\r\nif defined?(RorVsWild)\r\n  RorVsWild::Client.new(app_id: 999, api_key: \"example\")\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/alexisbernard/rorvswild/issues/comments/255605548","html_url":"https://github.com/alexisbernard/rorvswild/issues/1#issuecomment-255605548","issue_url":"https://api.github.com/repos/alexisbernard/rorvswild/issues/1","id":255605548,"user":{"login":"ValentinTrinque","id":4662842,"avatar_url":"https://avatars.githubusercontent.com/u/4662842?v=3","gravatar_id":"","url":"https://api.github.com/users/ValentinTrinque","html_url":"https://github.com/ValentinTrinque","followers_url":"https://api.github.com/users/ValentinTrinque/followers","following_url":"https://api.github.com/users/ValentinTrinque/following{/other_user}","gists_url":"https://api.github.com/users/ValentinTrinque/gists{/gist_id}","starred_url":"https://api.github.com/users/ValentinTrinque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValentinTrinque/subscriptions","organizations_url":"https://api.github.com/users/ValentinTrinque/orgs","repos_url":"https://api.github.com/users/ValentinTrinque/repos","events_url":"https://api.github.com/users/ValentinTrinque/events{/privacy}","received_events_url":"https://api.github.com/users/ValentinTrinque/received_events","type":"User","site_admin":false},"created_at":"2016-10-23T18:35:13Z","updated_at":"2016-10-23T18:35:13Z","body":"I am currently investigating on this memory bloat problem. I profiled some of the code blocks and couldn't figure out noticeable memory consumption.\r\n\r\nI know it's been a while already, but, @coreyward, can you give us additional context matching with the memory bloat your experienced ?\r\n\r\nThank you very much"}}
{"actor":{"display_login":"ValentinTrinque"}}