Every time I open qbittorrent it slowly more and more memory util it runs out.
Does that happen to someone else?
Two options:
A) You’re trying to do too much at once. Too many items in the transfer list, too many connections, too much of something. Have you changed the default settings to allow far more of something? Do you have an incredibly long list of things being seeded/downloaded?
B) qBittorent has a very significant memory leak, which may be specific to your OS/hardware configuration, since nobody else seems to be experiencing it.
In case A, it would be best to try just toning it down a little. The default settings set a maximum number of active torrents and a maximum number of upload/download connections for a reason. If you’ve changed those settings to be very high or unlimited, maybe reconsider that and move it closer to the original default settings.
In case B, you should make a detailed bug report.
Oh, and I suppose there’s a secret case C as well: are you running it on a potato-spec computer? If you have very little memory in the first place, maybe even normal settings could use up all of it. In that case, you’d either want to do a hardware upgrade or change the settings to be even more restrictive than default, to reduce RAM usage.
It was running with 200 torrents a few days ago, but today if there’s 1 torrent downloading it will consume all the memory.
The only difference is that apparently there was a bazzite background update
It’s still running quiet and normal for me. You try a different version or source?
I’m about to try a different operating system, I was trying bazzite and I wasn’t fully convinced and this made me realise that it updates everything in the background without telling and I don’t like it.
a lot of linux operating systems auto update everything, but you can disable the auto update through various methods, on linux mint you can use either the update gui to disable updates or the command line where all you do is copy paste a single line of code and then the application name and it will never update that application
I used linux mint up until recently and I liked how it handled updates, there’s an icon telling me there were updates and I applied them. What annoyed me of bazzite is that there was nothing, not even a notification after the fact, and I couldn’t easily find how to disable them. I
Use Transmission
Yes, I’m on Debian Testing and Qbittorrent can eat like 6 GB of RAM. I’m not sure why it uses so much
Every time I open qbittorrent it slowly more and more memory util it runs out.
Does anything happen after that, or is this just an observation? Your OS should know when to swap to disk to avoid things like crashes, etc.
You may want to update your post with more information on your OS, setup, if you’re actively uploading/download torrents, how many torrents you’re seeding, things like that.
When I was on Windows I do remember seeing qBittorrent/Libtorrent 2.x use as much available RAM as it could but nothing bad ever happened, I just ignored it. In fact at one point the qBittorrent devs even added an option to limit RAM use and I used to just set that to the maximum RAM & just let qBittorrent/Libtorrent do its thing. Not sure if the Windows version of qBittorrent still has that option but it used to be a setting under Tools/Preferences/Advanced at the top under the qBittorrent section. I don’t see it in the current version under Linux.
Barring any special settings the usual advice would be to limit your maximum connections and/or upload/download bandwidth, probably tweaking the Global Maximum Connections will be enough. The more connections qBittorrent/Libtorrent establishes the more RAM gets used. Libtorrent 2.x historically used to use more RAM but I don’t know nowadays how much of a problem that is.
In case it helps I haven’t seen anything abnormal on qBittorrent 5.3.0/Libtorrent 2.x + Debian Linux.
Until it closes and pops up a notification telling me that the OS prevented it from running out of memory. After that I can’t start qbittorrent again until after a reboot.
I don’t know, I will probably try some other distro next week.
Interesting, you might be running into an actual bug that may need to be fixed. There’s mention of something similar over in the qBittorrent Github issues e.g.
https://github.com/qbittorrent/qBittorrent/issues/25202
That particular bug report mentions Debian, same as me, but I haven’t run into it so am not sure what triggers the issue. But my Debian installation has an updated Linux Kernel so I wonder if that has something to do with it… I’m on 7.2.11, Debian Stable is on 6.12 I believe. Just out of curiousity do you know which Linux kernel version you’re on? In terminal just run
uname -aTo potentially work around the issue, if it’s just something with the latest qBittorrent, you could try downgrading to an earlier version. I’ve never used Bazzite but I assume it allows you to run AppImage binaries - You can grab earlier version qBittorrent .appimage binaries from their Sourceforge page linked at https://www.qbittorrent.org/download (after download you’d need to chmod +x the .appimage file to actually be able to execute it).
Barring all that, lowering your maximum connections / bandwidth could be worth a try since that should lower the overall RAM requirements for qBittorrent/Libtorrent at runtime.
PS - Back up your qBittorrent settings folders before any downgrades/upgrades
Kernel version: 7.2.15-ogc1.1.fc45.x86_64 (64-bit)
Ugh I guess we can rule out the Linux Kernel version, at least we know that’s not the issue.
I’m not familiar with Bazzite but I think(?) it grabs and updates apps through Flathub (per https://docs.bazzite.gg/Installing_and_Managing_Software/Flatpak/) so another idea is trying the qBittorrent appimage from the qBittorrent devs, instead of the version that qBittorrent binary Bazzite gives you, just to test & see if there is any difference. That should at least rule out some specific issue with the qBittorrent binary in Flathub. (In theory it should work the same)
Might be out of ideas beyond that :/ You can try posting in qBittorrent’s Github, maybe it’s the same bug some other people are running into.

