{"action":"opened","issue":{"url":"https://api.github.com/repos/alexdebril/feed-io/issues/122","repository_url":"https://api.github.com/repos/alexdebril/feed-io","labels_url":"https://api.github.com/repos/alexdebril/feed-io/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/alexdebril/feed-io/issues/122/comments","events_url":"https://api.github.com/repos/alexdebril/feed-io/issues/122/events","html_url":"https://github.com/alexdebril/feed-io/issues/122","id":245701039,"number":122,"title":"Memory usage in Response::isModified()","user":{"login":"alexdebril","id":207048,"avatar_url":"https://avatars0.githubusercontent.com/u/207048?v=4","gravatar_id":"","url":"https://api.github.com/users/alexdebril","html_url":"https://github.com/alexdebril","followers_url":"https://api.github.com/users/alexdebril/followers","following_url":"https://api.github.com/users/alexdebril/following{/other_user}","gists_url":"https://api.github.com/users/alexdebril/gists{/gist_id}","starred_url":"https://api.github.com/users/alexdebril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexdebril/subscriptions","organizations_url":"https://api.github.com/users/alexdebril/orgs","repos_url":"https://api.github.com/users/alexdebril/repos","events_url":"https://api.github.com/users/alexdebril/events{/privacy}","received_events_url":"https://api.github.com/users/alexdebril/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-26T12:11:52Z","updated_at":"2017-07-26T12:11:52Z","closed_at":null,"body":"As reported by @mirfilip , the following line of code could use less memory : https://github.com/alexdebril/feed-io/blob/87599f010a01cdf8e9b9e7a9b3ca0e81ce29df34/src/FeedIo/Adapter/Guzzle/Response.php#L41\r\n\r\nsee https://github.com/alexdebril/feed-io/commit/87599f010a01cdf8e9b9e7a9b3ca0e81ce29df34#commitcomment-23309826 for the explanation\r\n\r\nResponse::isModified() needs to use getSize() method to optimize memory usage"}}
{"actor":{"display_login":"alexdebril"}}