tylermwashburn/trailer — Issue #25: Excessive memory usage when requesting large files.
Author: tylermwashburn
Created: 2011-12-17 19:07:05+00:00
State: open
Labels: bug, todo

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.