Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file descriptors do not close using write method #160

Closed
aarsakian opened this issue Sep 17, 2013 · 1 comment
Closed

file descriptors do not close using write method #160

aarsakian opened this issue Sep 17, 2013 · 1 comment

Comments

@aarsakian
Copy link

I was running out of available file descriptors while parsing and saving massively to files.
This behavior was gone after I closed the WriteStream(), Specifically I added at line 411 of lib/node.io/io.js the following:
self.output_streams[file].end()

I do not know if this is error or bad usage of apis since I am new to node.js ecosystem.

@chriso
Copy link
Contributor

chriso commented Sep 17, 2013

This is likely a bug. The stream API has changed significantly since I wrote the library (which was somewhere around node v0.4)

@chriso chriso closed this as completed Mar 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants