R
R
Risent Veber2016-09-01 14:05:46
linux
Risent Veber, 2016-09-01 14:05:46

Why is memory leaking in a simple program in nodejs?

This program vyzhiraet memory to failure, and then falls.

var t = 0;
while (true) {
    t++;
    process.stdout.write("keks given: " + Math.round(t / 1000000) + "M\r");
}

Is this a node bug (I use v6.2.2)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2016-09-01
@sim3x

stackoverflow.com/questions/38085746/why-does-write...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question