joyent/node — Issue #2349: Possible leak in UDP server
Author: nail
Created: 2011-12-16 23:39:13+00:00
State: open

Hello,

It seems that there is some rss memory that is never freed when running an UDP server.

I've created an example with the most basic server and a client that will hammer it with 100,000 5KB messages, see https://gist.github.com/1488529 to reproduce.

Starting point: { rss: 9379840, heapTotal: 4065728, heapUsed: 2088632 }
After the client is done: { rss: 202457088, heapTotal: 3764608, heapUsed: 2025072 } and it won't go down anymore.

Cheers,
Renaud