Open vanilla38 opened 7 years ago
Okay, I noticed that these leaks were caused by:
swarm.add(addr) => torrent-stream index.js Line 702
Any idea on how to solve it ?
The leak is reproduced on Linux, not on Windows. I simplified the leak reproduction, see https://github.com/dizel3d/node-memory-leak-sample I made 300 iterations and couldn't detect leaking objects using v8-profiler, comparing heap snapshots. It seems the leak has native code roots.
Hello, I noticed that memory wasnt freed after download is complete, here's my code:
`app.get('/dltorrent', function (req, res) { var urlObj = url.parse(req.url, true), query = urlObj.query;
});`