{"action":"created","issue":{"url":"https://api.github.com/repos/gulpjs/vinyl-fs/issues/121","labels_url":"https://api.github.com/repos/gulpjs/vinyl-fs/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/gulpjs/vinyl-fs/issues/121/comments","events_url":"https://api.github.com/repos/gulpjs/vinyl-fs/issues/121/events","html_url":"https://github.com/gulpjs/vinyl-fs/pull/121","id":114419041,"number":121,"title":"Fix file descriptor exhaustion when streaming many files","user":{"login":"Klowner","id":9374,"avatar_url":"https://avatars.githubusercontent.com/u/9374?v=3","gravatar_id":"","url":"https://api.github.com/users/Klowner","html_url":"https://github.com/Klowner","followers_url":"https://api.github.com/users/Klowner/followers","following_url":"https://api.github.com/users/Klowner/following{/other_user}","gists_url":"https://api.github.com/users/Klowner/gists{/gist_id}","starred_url":"https://api.github.com/users/Klowner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Klowner/subscriptions","organizations_url":"https://api.github.com/users/Klowner/orgs","repos_url":"https://api.github.com/users/Klowner/repos","events_url":"https://api.github.com/users/Klowner/events{/privacy}","received_events_url":"https://api.github.com/users/Klowner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-31T16:15:18Z","updated_at":"2015-11-01T23:16:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gulpjs/vinyl-fs/pulls/121","html_url":"https://github.com/gulpjs/vinyl-fs/pull/121","diff_url":"https://github.com/gulpjs/vinyl-fs/pull/121.diff","patch_url":"https://github.com/gulpjs/vinyl-fs/pull/121.patch"},"body":"It appears as though streamFile was creating duplicate ReadStreams,\r\nwhich somehow was causing the process to never free WriteStreams. Also\r\nI've changed the removeListeners calls to unlisten to `complete` rather\r\nthan `cb`, since they're never told to listen to `cb` in the first\r\nplace.\r\n\r\nI suspect this is related to #56 ?"},"comment":{"url":"https://api.github.com/repos/gulpjs/vinyl-fs/issues/comments/152874404","html_url":"https://github.com/gulpjs/vinyl-fs/pull/121#issuecomment-152874404","issue_url":"https://api.github.com/repos/gulpjs/vinyl-fs/issues/121","id":152874404,"user":{"login":"Klowner","id":9374,"avatar_url":"https://avatars.githubusercontent.com/u/9374?v=3","gravatar_id":"","url":"https://api.github.com/users/Klowner","html_url":"https://github.com/Klowner","followers_url":"https://api.github.com/users/Klowner/followers","following_url":"https://api.github.com/users/Klowner/following{/other_user}","gists_url":"https://api.github.com/users/Klowner/gists{/gist_id}","starred_url":"https://api.github.com/users/Klowner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Klowner/subscriptions","organizations_url":"https://api.github.com/users/Klowner/orgs","repos_url":"https://api.github.com/users/Klowner/repos","events_url":"https://api.github.com/users/Klowner/events{/privacy}","received_events_url":"https://api.github.com/users/Klowner/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T23:16:06Z","updated_at":"2015-11-01T23:16:06Z","body":"@contra ahh, in retrospect that makes a lot of sense. So `dest` should be responsible for placing the stream's content onto the disk and then it should immediately create matching read streams to stream back off the disk and onto whatever else occurs later in the pipe?\r\n\r\nThose presumably just get garbage collected? Or do they have to go into some sort of \"sink\"?"}}