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

Already on GitHub? Sign in to your account

Excessive memory usage when requesting large files. #25

Open
partheseas opened this Issue Dec 17, 2011 · 0 comments

Comments

Projects
None yet
1 participant
Owner

partheseas commented Dec 17, 2011

Overly large files need to be read and delivered in chunks.

When delivering a ~1GB file, node temporarily uses ~1GB of RAM, then writes it to the stream, and then releases that memory. It would be better to do this in chunks no greater than 256MB.

@partheseas partheseas was assigned Dec 17, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment