c4milo / node-webkit-agent

NodeJS agent for WebKit devtools front-end
http://c4milo.github.io/node-webkit-agent/
1.09k stars 78 forks source link

RSS increases with every snapshot which is never released #73

Open gpsinghsandhu opened 10 years ago

gpsinghsandhu commented 10 years ago

Hi

node-webkit-agent version - 0.3.1 node version - 0.10.29

In my node process, I see an increase of 10-50 mb in RSS whenever I take a heapsnapshot. This memory is not released even when I stop the agent. If I try to delete the snapshot from frontend, then I get an "Profiler.removeProfile is not implemented" on the node output.

Is this expected behaviour ? If yes then is there a way to release this memory when I stop the agent because increases like this are very bad for long running node processes.

c4milo commented 10 years ago

It looks like an issue. I'll look into it.