{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/csv/issues/168","repository_url":"https://api.github.com/repos/thephpleague/csv","labels_url":"https://api.github.com/repos/thephpleague/csv/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/csv/issues/168/comments","events_url":"https://api.github.com/repos/thephpleague/csv/issues/168/events","html_url":"https://github.com/thephpleague/csv/issues/168","id":165168695,"number":168,"title":"Load Large File","user":{"login":"dersonsena","id":9482515,"avatar_url":"https://avatars.githubusercontent.com/u/9482515?v=3","gravatar_id":"","url":"https://api.github.com/users/dersonsena","html_url":"https://github.com/dersonsena","followers_url":"https://api.github.com/users/dersonsena/followers","following_url":"https://api.github.com/users/dersonsena/following{/other_user}","gists_url":"https://api.github.com/users/dersonsena/gists{/gist_id}","starred_url":"https://api.github.com/users/dersonsena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dersonsena/subscriptions","organizations_url":"https://api.github.com/users/dersonsena/orgs","repos_url":"https://api.github.com/users/dersonsena/repos","events_url":"https://api.github.com/users/dersonsena/events{/privacy}","received_events_url":"https://api.github.com/users/dersonsena/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thephpleague/csv/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-07-12T20:09:34Z","updated_at":"2016-07-14T18:09:33Z","closed_at":"2016-07-13T16:07:44Z","body":"Hello ! Is there any way to optimize reading large csv files? I'm having memory overflow problem reading large files.\r\n\r\nIf not, I saw on the internet that many developers use something like:\r\n\r\n```php\r\n$handle = @fopen(\"/tmp/inputfile.txt\", \"r\");\r\n\r\nif ($handle) {\r\n    while (($buffer = fgets($handle, 4096)) !== false) {\r\n        echo $buffer;\r\n    }\r\n    fclose($handle);\r\n}\r\n```\r\n\r\nI'm waiting.\r\nPS: sorry for my English. = D"},"comment":{"url":"https://api.github.com/repos/thephpleague/csv/issues/comments/232745802","html_url":"https://github.com/thephpleague/csv/issues/168#issuecomment-232745802","issue_url":"https://api.github.com/repos/thephpleague/csv/issues/168","id":232745802,"user":{"login":"dersonsena","id":9482515,"avatar_url":"https://avatars.githubusercontent.com/u/9482515?v=3","gravatar_id":"","url":"https://api.github.com/users/dersonsena","html_url":"https://github.com/dersonsena","followers_url":"https://api.github.com/users/dersonsena/followers","following_url":"https://api.github.com/users/dersonsena/following{/other_user}","gists_url":"https://api.github.com/users/dersonsena/gists{/gist_id}","starred_url":"https://api.github.com/users/dersonsena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dersonsena/subscriptions","organizations_url":"https://api.github.com/users/dersonsena/orgs","repos_url":"https://api.github.com/users/dersonsena/repos","events_url":"https://api.github.com/users/dersonsena/events{/privacy}","received_events_url":"https://api.github.com/users/dersonsena/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T18:09:33Z","updated_at":"2016-07-14T18:09:33Z","body":"Sorry, friend @nyamsprod . Just wondered if would to modify the shape file read as documentation (which I read many times) did not see anything related to this.\r\n\r\nThere was a big mistake when you said I was wanting something related to support.\r\n\r\nDo not worry, I will not bother you more. Embraces the whole team."}}
{"actor":{"display_login":"dersonsena"}}