node.js mongoose.js memory leak? node.js mongoose.js memory leak? mongoose mongoose

node.js mongoose.js memory leak?


For anyone having the same problem:

https://github.com/c4milo/node-webkit-agent

After making few heap dumps I discovered that objects are garbage collected and the real memory usage isn't tied to it. I think that real memory usage is bigger because of using mongo and other non node.js stuff. Also real memory usage stabilizes at ~300mb, heap dumps at ~35mb.