Re: [nodejs] Re: clients[i].sendUTF causing memory leak. Please help.

2012-11-28 Thread P. W. Croft
Thank you. Though I can't seem to find an issue tracker for the module. I'm not even sure where I originally got it. On Wed, Nov 28, 2012 at 3:27 PM, Ben Noordhuis wrote: > On Thu, Nov 29, 2012 at 12:20 AM, P. W. Croft wrote: > > I found the issue! > > > > The o

Re: [nodejs] Re: clients[i].sendUTF causing memory leak. Please help.

2012-11-28 Thread P. W. Croft
I found the issue! The outgoingFrameQueue doesn't clear itself. So, the array just increases indefinitely. I clear it after my send, and no memory leak! On Wed, Nov 28, 2012 at 3:03 PM, P. W. Croft wrote: > What do you know about the following socket array? > > *outgoingFrameQue

Re: [nodejs] Re: clients[i].sendUTF causing memory leak. Please help.

2012-11-28 Thread P. W. Croft
What do you know about the following socket array? *outgoingFrameQueue* On Wed, Nov 28, 2012 at 1:25 PM, mscdex wrote: > On Nov 28, 4:16 pm, "P. W. Croft" wrote: > > Let's call it send(), instead of sendUTF() -- it has the same result. > > Report it on the modu

Re: [nodejs] Re: clients[i].sendUTF causing memory leak. Please help.

2012-11-28 Thread P. W. Croft
Let's call it send(), instead of sendUTF() -- it has the same result. On Wed, Nov 28, 2012 at 12:47 PM, mscdex wrote: > On Nov 28, 2:40 pm, Phil wrote: > > What about *sendUTF* could be causing a memory leak in my game loop? Any > > help would be appreciated! > > Maybe it's just me, but it see