Memory Leak with socket.io + node.js

前端 未结 2 1714
野的像风
野的像风 2021-02-05 02:00

I appear to have a memory leak with my Node.js application. I built it quickly, and my JavaScript isn\'t too strong, so this might be easy.

I\'ve done some heap dumps on

2条回答
  •  感动是毒
    2021-02-05 02:34

    Could this be related to the connected clients array not clearing properly when a client disconnects? The array value gets set to NULL rather than being dropped from the array.

提交回复
热议问题