{"action":"opened","issue":{"url":"https://api.github.com/repos/TobiaszCudnik/phpquery/issues/16","labels_url":"https://api.github.com/repos/TobiaszCudnik/phpquery/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/TobiaszCudnik/phpquery/issues/16/comments","events_url":"https://api.github.com/repos/TobiaszCudnik/phpquery/issues/16/events","html_url":"https://github.com/TobiaszCudnik/phpquery/issues/16","id":119687183,"number":16,"title":"Out of memory while fetching too many pages","user":{"login":"Zhangjd","id":5930031,"avatar_url":"https://avatars.githubusercontent.com/u/5930031?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhangjd","html_url":"https://github.com/Zhangjd","followers_url":"https://api.github.com/users/Zhangjd/followers","following_url":"https://api.github.com/users/Zhangjd/following{/other_user}","gists_url":"https://api.github.com/users/Zhangjd/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhangjd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhangjd/subscriptions","organizations_url":"https://api.github.com/users/Zhangjd/orgs","repos_url":"https://api.github.com/users/Zhangjd/repos","events_url":"https://api.github.com/users/Zhangjd/events{/privacy}","received_events_url":"https://api.github.com/users/Zhangjd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-01T10:24:37Z","updated_at":"2015-12-01T10:24:37Z","closed_at":null,"body":"Following the demo, I tried invoking phpQuery::newDocumentFile($htmlFile) for many times, unfortunately PHP got out of memory. I had to manually unset phpQuery::$documents on every loop."}}