We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
The text was updated successfully, but these errors were encountered:
This is significantly later, but I'm having the same issue as well.
Lazy(fs.createReadStream(item)) .lines .forEach(function(line) { line = line.toString(); var j = line.match(/\{.*\}/); if (!j || j.length < 1) return done(); try { j = JSON.parse(j[0]); output.write(JSON.stringify(j) + '\n'); } catch (e) {} }) .join(function() { done(); });
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: