node.js readline form net.Socket (process.stdin) cause error: heap out of memory (conversion of net.Socket Duplex to Readable stream)

后端 未结 0 1227
太阳男子
太阳男子 2021-02-01 07:44

Question is how to solve problem of "heap out of memory" error when reading line by line from huge stdin? Error is not happening when you dump stdout to file (eg: test

相关标签:
回答
  • 消灭零回复
提交回复
热议问题