{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/12663","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/12663/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/12663/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/12663/events","html_url":"https://github.com/ManageIQ/manageiq/pull/12663","id":189508004,"number":12663,"title":"Avoid memory bloat","user":{"login":"Ladas","id":1737058,"avatar_url":"https://avatars.githubusercontent.com/u/1737058?v=3","gravatar_id":"","url":"https://api.github.com/users/Ladas","html_url":"https://github.com/Ladas","followers_url":"https://api.github.com/users/Ladas/followers","following_url":"https://api.github.com/users/Ladas/following{/other_user}","gists_url":"https://api.github.com/users/Ladas/gists{/gist_id}","starred_url":"https://api.github.com/users/Ladas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ladas/subscriptions","organizations_url":"https://api.github.com/users/Ladas/orgs","repos_url":"https://api.github.com/users/Ladas/repos","events_url":"https://api.github.com/users/Ladas/events{/privacy}","received_events_url":"https://api.github.com/users/Ladas/received_events","type":"User","site_admin":false},"labels":[{"id":382968361,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/blocker","name":"blocker","color":"000000","default":false},{"id":106615676,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/bug","name":"bug","color":"fc2929","default":true},{"id":228525610,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/core","name":"core","color":"5319e7","default":false},{"id":447068224,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/euwe/backported","name":"euwe/backported","color":"000000","default":false}],"state":"closed","locked":false,"assignee":{"login":"Fryguy","id":52120,"avatar_url":"https://avatars.githubusercontent.com/u/52120?v=3","gravatar_id":"","url":"https://api.github.com/users/Fryguy","html_url":"https://github.com/Fryguy","followers_url":"https://api.github.com/users/Fryguy/followers","following_url":"https://api.github.com/users/Fryguy/following{/other_user}","gists_url":"https://api.github.com/users/Fryguy/gists{/gist_id}","starred_url":"https://api.github.com/users/Fryguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fryguy/subscriptions","organizations_url":"https://api.github.com/users/Fryguy/orgs","repos_url":"https://api.github.com/users/Fryguy/repos","events_url":"https://api.github.com/users/Fryguy/events{/privacy}","received_events_url":"https://api.github.com/users/Fryguy/received_events","type":"User","site_admin":false},"assignees":[{"login":"Fryguy","id":52120,"avatar_url":"https://avatars.githubusercontent.com/u/52120?v=3","gravatar_id":"","url":"https://api.github.com/users/Fryguy","html_url":"https://github.com/Fryguy","followers_url":"https://api.github.com/users/Fryguy/followers","following_url":"https://api.github.com/users/Fryguy/following{/other_user}","gists_url":"https://api.github.com/users/Fryguy/gists{/gist_id}","starred_url":"https://api.github.com/users/Fryguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fryguy/subscriptions","organizations_url":"https://api.github.com/users/Fryguy/orgs","repos_url":"https://api.github.com/users/Fryguy/repos","events_url":"https://api.github.com/users/Fryguy/events{/privacy}","received_events_url":"https://api.github.com/users/Fryguy/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ManageIQ/manageiq/milestones/44","html_url":"https://github.com/ManageIQ/manageiq/milestones/Sprint%2050%20Ending%20Dec%205,%202016","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones/44/labels","id":2136083,"number":44,"title":"Sprint 50 Ending Dec 5, 2016","description":"","creator":{"login":"martinpovolny","id":51095,"avatar_url":"https://avatars.githubusercontent.com/u/51095?v=3","gravatar_id":"","url":"https://api.github.com/users/martinpovolny","html_url":"https://github.com/martinpovolny","followers_url":"https://api.github.com/users/martinpovolny/followers","following_url":"https://api.github.com/users/martinpovolny/following{/other_user}","gists_url":"https://api.github.com/users/martinpovolny/gists{/gist_id}","starred_url":"https://api.github.com/users/martinpovolny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinpovolny/subscriptions","organizations_url":"https://api.github.com/users/martinpovolny/orgs","repos_url":"https://api.github.com/users/martinpovolny/repos","events_url":"https://api.github.com/users/martinpovolny/events{/privacy}","received_events_url":"https://api.github.com/users/martinpovolny/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":124,"state":"open","created_at":"2016-11-15T08:48:06Z","updated_at":"2016-11-22T00:50:06Z","due_on":"2016-12-05T00:00:00Z","closed_at":null},"comments":12,"created_at":"2016-11-15T21:12:35Z","updated_at":"2016-11-22T12:32:13Z","closed_at":"2016-11-16T17:50:05Z","pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/12663","html_url":"https://github.com/ManageIQ/manageiq/pull/12663","diff_url":"https://github.com/ManageIQ/manageiq/pull/12663.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/12663.patch"},"body":"The clear_association_cache is not really making the object any\r\nsmaller. Refreshing 70k Images takes up 10gb in memory.\r\n\r\nWith reload, we have a little longer refresh (1s per record) but\r\n70k Images takes only 3.2GB in memory.\r\n\r\nPartially Reverts PR:\r\n#11678\r\n\r\nPartially Reverts commit:\r\naeb38d4\r\n\r\nSteps for Testing/QA [Optional]\r\n-------------------------------\r\n\r\nFor bigger number of records (e.g. 70k of amazon public images), the refresh worker should take around 3Gb of ram, no more."},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/262229148","html_url":"https://github.com/ManageIQ/manageiq/pull/12663#issuecomment-262229148","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/12663","id":262229148,"user":{"login":"Ladas","id":1737058,"avatar_url":"https://avatars.githubusercontent.com/u/1737058?v=3","gravatar_id":"","url":"https://api.github.com/users/Ladas","html_url":"https://github.com/Ladas","followers_url":"https://api.github.com/users/Ladas/followers","following_url":"https://api.github.com/users/Ladas/following{/other_user}","gists_url":"https://api.github.com/users/Ladas/gists{/gist_id}","starred_url":"https://api.github.com/users/Ladas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ladas/subscriptions","organizations_url":"https://api.github.com/users/Ladas/orgs","repos_url":"https://api.github.com/users/Ladas/repos","events_url":"https://api.github.com/users/Ladas/events{/privacy}","received_events_url":"https://api.github.com/users/Ladas/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T12:32:13Z","updated_at":"2016-11-22T12:32:13Z","body":"@Fryguy we will also need this in Darga, since the reverted PR was backported there"}}
{"actor":{"display_login":"Ladas"}}