Re: [nodejs] Lots of Buffer in heap. Is it kind of memory leak in my code?

2013-06-24 Thread Ben Noordhuis
On Mon, Jun 24, 2013 at 8:22 AM, liuyanghejerry wrote: > Hi, I have a TCP server written in Node.js. > > It is pretty good at start, but consumes lots of memory and swap after > about 24 hours. > > I'm new to write long run JS code, and the TCP server transffer 13GB > data each day. So I think thi

Re: [nodejs] Lots of Buffer in heap. Is it kind of memory leak in my code?

2013-06-24 Thread liuyanghejerry
At 2013/6/24 16:52, Ben Noordhuis wrote: On Mon, Jun 24, 2013 at 8:22 AM, liuyanghejerry wrote: Hi, I have a TCP server written in Node.js. It is pretty good at start, but consumes lots of memory and swap after about 24 hours. I'm new to write long run JS code, and the TCP server transffer 13

Re: [nodejs] Lots of Buffer in heap. Is it kind of memory leak in my code?

2014-01-14 Thread Shay Finkelstein
Hi Jerry, were you able to find a solution to this problem? i'm having exactly the same thing (same slow buffers, same sizes). i've discovered that when i run the nodejs directly and not from behind a proxy, the problem is reduced (but its still there). furthermore - i can't reproduce this prob