Re:How fast are Linux pipes anyway?
by capableweb on Thursday June 02, 2022 @08:59AM
(#31594266)
Hm, strange. With the same out of memory error as before or a different one? Tried running that one for 2 minutes, no errors here, and memory stays constant.
Also, what NodeJS version are you on?
Yes, same error as before. Memory usage stays the same for a while, then starts to skyrocket shortly before it crashes.
node is v10.24.0. (Default from the Debian 10 repo)
Re:How fast are Linux pipes anyway?
by capableweb on Thursday June 02, 2022 @09:17AM
(#31594478)
Huh yeah, seems to be a old memory leak. Running it on v10.24.0 crashes for me too.
After some quick testing in a couple of versions, it seems like it got fixed in v11 at least (didn't test any minor/patch versions).
By the way, all versions up to NodeJS 12 (LTS) are "end of life", and should probably not be used if you're downloading 3rd party dependencies, as there are bunch of security fixes since then, that are not being backported.
I used this exact issue today while pointing out how Debian support dates can be misleading as packages themselves aren’t always getting fixes: https://github.com/endoflife-date/endoflife.date/issues/763#...
But using a longer string crashed after 23s here: