felixge/node-mysql — Issue #159: Memory leak? [Node 0.6.6]
Author: thekiur
Created: 2012-01-05 22:50:15+00:00
State: open

(this was also submitted as a issue to LearnBoost/socket.io,
because this may be caused by either node-mysql or socket-io (i guess))

Hi, we have upgraded our real-time chat application from node 0.4.8 to 0.6.6 and this is what happened...
The application is built using socket.io 0.8.7 with node-mysql (latest) and runs on a stable UNIX system.

The first graph is irrelevant.
We've been running at ~75MB RSS for months, now we instantly see a sharp increase in RSS usage.
The second graph corresponds to the RSS size in MB and it has been quite stable for months.

![Memory issue](http://www.upload.ee/image/1956486/node666.png)

The update was at ~14:30 and i only updated node.
Socket.io and node-mysql were already at their latest, node 0.6.x compatible versions.

What could be the cause of this?