anacrolix / anacrolix/torrent

Memory stays high after dropping torrent

オープン
#930 コメント 27 件 リアクション 0 件 担当者 0 名 GitHub で見る
confirmed help wanted
主要言語
Go
スター
6.1k
フォーク
690
平均マージ
3日 10時間
マージ済み PR(30日)
12

説明

Heya!

Once a torrent is finished downloading (There is a check every 5m, that drops a torrent is torrent.Complete is true.), I drop it with torrent.Drop(), and rename it from the map I use to keep track of them. However, my application's memory usage stays up, not going down unless I restart.
After a few downloads, it's at ~400mb, while if I hadn't downloaded anything it stabilizes around 25mb.

I've tried looking at a heapdump with pprof, but I understand far too little of it to figure out what might be going wrong with it.

Am I supposed to remove a torrent on the client somewhere, or close something else first? Any help would be super welcome ❤️

Thanks for the amazing project!
~ Amelia

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。