Hi,
I'm working on a Socket.IO server and I've noticed that after a couple hours, the memory usage of the process starts growing from ~500 MB to the maximum of 1.4 GB. When I inspect the memory usage with heapdump, the size of the heap dump is only around 317 MB and everything looks like it should. When I use process.memoryUsage(), I get the following result:
{
"rss": 1595502592,
"heapTotal": 1418914872,
"heapUsed": 326959512
}
What could be happening that makes the v8 heap size grow so large? It's not in the heapdump, so it seems to me that it can't be a memory leak in my code.