node
node copied to clipboard
test: reduce memory usage of test-worker-stdio
On systems with limited memory and that are compiled with debugging information, this particular test is causing OOM condition especially as it is run in parallel. Even when run with a stripped binary as an input, the test consumes upward of 250M RSS. By limiting the input stream to the 1M, the stream is still buffering but memory consumption is similar to other parallel tests.
I've added separators for readability, as suggested. Also pushed again since this Github feature seems to add more useless intermediate commits. I don't know if this would get squash merged or just merged in the end.
CI: https://ci.nodejs.org/job/node-test-pull-request/43896/
CI: https://ci.nodejs.org/job/node-test-pull-request/58968/
Landed in 001da4d0886c50de53c1f0597c2635b38155210c