node-lazy icon indicating copy to clipboard operation
node-lazy copied to clipboard

Lazy leaking memory

Open vladmiller opened this issue 11 years ago • 1 comments

I'm trying to read line by line very huuuuuuuuuuuge csv file, it have about 500M rows

new lazy(fs.createReadStream('Very huuuuuuugeeee csv file')) .lines .forEach(function(row) { console.log(row.toString()) });

And lazy leaking memory so bad. Let me know what other information do you need.

Env: Windows 7 x64 8GB Ram, Intel Quad Core

vladmiller avatar Feb 16 '13 00:02 vladmiller