mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
change .torrent file size limit #17380
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#17380
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Starship3893 on GitHub (Dec 20, 2025).
Suggestion
It would be nice to be able to set the size limit to KiB values or fractional MiB values (for example, 0.5 MiB), instead of the current minimum of 1 MiB.
Use case
Where this option becomes especially relevant is torrents with a very large number of files, particularly when they are not zipped or packed. In those cases, the file list itself grows significantly, and the .torrent file can exceed common limits even when using large piece sizes (16 MiB, 32 MiB, etc.). At that point, the piece hashes are no longer the main contributor for the .torrent size — the file list is.
Also, some trackers and torrent caches don't allow .torrent above 512kb.
Extra info/examples/attachments
Example 1
When setting it to 1 MiB, a popup notification would appear once the torrent file size exceeds that value.
In this example, I set to 1MiB but got a 3Mib .torrent file, and therefore the message pop ups with the error code 100.
What I was hoping for is the ability to trigger this warning at a lower threshold, such as 512 KiB (or another custom value).
@stalkerok commented on GitHub (Dec 20, 2025):
It seems you don't understand what this parameter means. It has nothing to do with torrent sites.
@tsweet64 commented on GitHub (Feb 12, 2026):
My understanding (as just a user, not a developer) is that this option just sets the maximum size of .torrent that qbittorrent will be willing to open and read, presumably to prevent resource exhaustion and it choking on a corrupt/malicious .torrent. It isn't really related to the torrent creator beyond that you might open the .torrent you just created.