{"action":"created","issue":{"url":"https://api.github.com/repos/catarse/catarse/issues/2779","repository_url":"https://api.github.com/repos/catarse/catarse","labels_url":"https://api.github.com/repos/catarse/catarse/issues/2779/labels{/name}","comments_url":"https://api.github.com/repos/catarse/catarse/issues/2779/comments","events_url":"https://api.github.com/repos/catarse/catarse/issues/2779/events","html_url":"https://github.com/catarse/catarse/issues/2779","id":257176355,"number":2779,"title":"$450 /month Heroku and still having memory issues","user":{"login":"ACPK","id":2019893,"avatar_url":"https://avatars1.githubusercontent.com/u/2019893?v=4","gravatar_id":"","url":"https://api.github.com/users/ACPK","html_url":"https://github.com/ACPK","followers_url":"https://api.github.com/users/ACPK/followers","following_url":"https://api.github.com/users/ACPK/following{/other_user}","gists_url":"https://api.github.com/users/ACPK/gists{/gist_id}","starred_url":"https://api.github.com/users/ACPK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ACPK/subscriptions","organizations_url":"https://api.github.com/users/ACPK/orgs","repos_url":"https://api.github.com/users/ACPK/repos","events_url":"https://api.github.com/users/ACPK/events{/privacy}","received_events_url":"https://api.github.com/users/ACPK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-12T20:47:57Z","updated_at":"2017-09-12T21:54:11Z","closed_at":null,"author_association":"NONE","body":"I have the app hosted with 2 2x Heroku Web dynos but have had hourly memory issues. Has anyone else hit this problem?\r\n\r\n@adrianob - The problem, according to Scoutapp.com, seems to be the ProjectsController#Index and the code listed below.   Should this later be migrated over to a PostgREST endpoint that Catarse.js calls?"},"comment":{"url":"https://api.github.com/repos/catarse/catarse/issues/comments/328995428","html_url":"https://github.com/catarse/catarse/issues/2779#issuecomment-328995428","issue_url":"https://api.github.com/repos/catarse/catarse/issues/2779","id":328995428,"user":{"login":"vicnicius","id":1326024,"avatar_url":"https://avatars2.githubusercontent.com/u/1326024?v=4","gravatar_id":"","url":"https://api.github.com/users/vicnicius","html_url":"https://github.com/vicnicius","followers_url":"https://api.github.com/users/vicnicius/followers","following_url":"https://api.github.com/users/vicnicius/following{/other_user}","gists_url":"https://api.github.com/users/vicnicius/gists{/gist_id}","starred_url":"https://api.github.com/users/vicnicius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicnicius/subscriptions","organizations_url":"https://api.github.com/users/vicnicius/orgs","repos_url":"https://api.github.com/users/vicnicius/repos","events_url":"https://api.github.com/users/vicnicius/events{/privacy}","received_events_url":"https://api.github.com/users/vicnicius/received_events","type":"User","site_admin":false},"created_at":"2017-09-12T21:54:11Z","updated_at":"2017-09-12T21:54:11Z","author_association":"OWNER","body":"@devton can tell you more on how our infrastructure is setup on heroku. We probably use a more robust performance dyno there, but I really don't know much about it. \r\n\r\nI do agree that it looks like we have a pretty large memory consumption there. But then again, I am talking outside my expertise zone here. For this @devton and also @adrianob could share more insights.\r\n\r\nI took a look at this in the past to try to reduce the amount of resources we load on this page, as we now fetch postgrest to get the data there from client-side, so not only we are doing too much on the controller, but we are also doing it twice, if I am not mistaken. Huge room for improvement and definitely something we will tackle with the upcoming bigger epics. \r\n\r\nAnd I will be happy to review your PR! \r\n"}}
{"actor":{"display_login":"vicnicius"}}