-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion about managing huge amount of torrents, RAM usage #11397
Comments
Something is wrong. RAM consumption increases without stopping and it reached 10GB after a few hours. Upon closing qBittorrent it increased to 12GB then slowly decreased to zero, all while making tons of file operations with swapfile. Previously qBittorrent worked fine for weeks and now I can't let it run for more than 10 hours. If this is not a memory leak, I don't know what is this. How can I debug this issue? |
@reyaz006 are you still running 4.1.8? |
The RAM usage is fixed (#13304 (comment)). GUI performance with many torrents is also being tracked in that ticket. As for the "archive" suggestion, I'm pretty certain that's a duplicate of a previous issue report, but I can't find it. @thalieht can you find that duplicate, so this can be closed? |
qBittorrent version and Operating System
4.1.8 x64 / 8.1 x64
What is the problem
What is the expected behavior
Steps to reproduce
Extra info(if any)
SUGGESTION
Since of course the huge amount of torrents contribute to RAM usage, why not explore more options to make it more effective?
Consider my case: You could suggest me to get rid of most of old torrents but I will not do that. It's because it's basically a database of what I've downloaded during years of using qBittorrent. Some torrents were never started, some finished with only certain files chosen to be downloaded, some I seed again when I want. But absolute most of them are in finished state. I do not need them or most of their properties accessible immediately in my RAM. I only need their metadata like
Title
andDate added
. I'd place them under a special category, e.g. Archive and only go there when I need to lookup certain torrents. Then if I find something I need, I'd check the situation - what files were supposed to be downloaded, what files were skipped but still available, how many seeds and peers are there currently, how much I've already seeded etc. If I just remove the torrents from qBittorrent, all of that metadata would be lost, and worst of all are cases where I did not chose to download all files - if I decide to add a torrent again after I removed it, extra unwanted files may get downloaded.So basically I propose to implement ability to move a torrent into archive. After a torrent moved to archive, it's stopped completely (whether it was finished or paused) and only its very basic details should be kept in RAM like title and date added (maybe allow more fields to choose in order to be able to sort by them, e.g. size). Not even the done %% is really needed - these details must only get loaded into RAM after the item in archive is clicked. And they should get wiped from RAM after the archive is no longer viewed.
Also, please either fix the RAM usage when "All" group is viewed, or allow to not switch to it by default when qBittorrent is launched.
The text was updated successfully, but these errors were encountered: