nodejs/node

memory leaks of console.log

quanguizeng opened this issue · 1 comments

  • Version:
    8.9.3
  • Platform:
    win7
  • Subsystem:

for(var i = 0;;i++) {
console.log(i);
}

run this program,and the system memory that node.exe used will rise infinitely.it means that console.log has the problem of memory leaks.
thanks.

console.log() is asynchronous. See the many similar reports, e.g., #1741.