Skip to content
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

qBittorrent-4.3.3 runs out of memory on FreeBSD with libtorrent 2.0.2 #14512

Closed
yurivict opened this issue Mar 8, 2021 · 9 comments
Closed

Comments

@yurivict
Copy link
Contributor

yurivict commented Mar 8, 2021

Please provide the following information

qBittorrent version and Operating System

4.3.3, FreeBSD 12.2

If on linux, libtorrent-rasterbar and Qt version

libtorrent-rasterbar-2.0.2

What is the problem

The nox version runs out of memory.

Downstream bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254119

@yurivict
Copy link
Contributor Author

yurivict commented Mar 8, 2021

On my computer qBittorrent's desktop version works in a very high memory:

61557 yuri         21  21    0    83G  6907M select   7 978:47   4.54% qbittorrent

It is qBittorrent-4.3.3, libtorrent-rasterbar-2.0.2.

Does qBittorrent-4.3.3 leak memory?

@yurivict yurivict changed the title The WEB UI version runs out of memory on FreeBSD [memory leak] qBittorrent-4.3.3 runs out of memory on FreeBSD Mar 8, 2021
@yurivict
Copy link
Contributor Author

yurivict commented Mar 8, 2021

Right after launch the desktop app goes unreasonably high in memory:

17851 yuri         24  23    0    11G    94M select   5   0:03  22.27% qbittorrent

@sledgehammer999
Copy link
Member

libtorrent-rasterbar-2.0.2

Is it possible to recompile and test with 1.2.x series? While qbt compiles with 2.0.x series we don't officially support it. Also those series haven't received other adoption yet so they may be quite untested and contain such bugs.

@FranciscoPombal FranciscoPombal changed the title [memory leak] qBittorrent-4.3.3 runs out of memory on FreeBSD qBittorrent-4.3.3 runs out of memory on FreeBSD with libtorrent 2.0.2 Mar 8, 2021
@FranciscoPombal
Copy link
Member

qBittorrent is still not ready for general use with libtorrent 2.x, there are PRs targeting master in progress for this, but problems with 4.3.3 are not an issue IMO.

@supersndqd
Copy link

I try deluge 2.0.3 ,have same problem, libtorrent-rasterbar 2 is not ok?

@FranciscoPombal
Copy link
Member

Are you guys looking at actually used memory (i.e., is this memory really unable to be used by other applications)? See https://www.linuxatemyram.com/.

@FranciscoPombal FranciscoPombal added the Waiting info Waiting for participants to supply more info/fulfill template requirements label Mar 9, 2021
@supersndqd
Copy link

supersndqd commented Mar 9, 2021

qbittorrent begin downloads ,I disconnect my ssh connection.
/var/log/messages,ttys be killed,and ,swap use lot.I link keyboard.The message display about the usb keyboard.But I can't control my keyboard.
deluge begin downloads,deluged disconnect ,my webui can see,bu can't link deluged.same lot memory be use.

@yurivict
Copy link
Contributor Author

With libtorrent-rasterbar-2.0.5 the memory in qBittorrent goes up into hundreds of gigabytes on FreeBSD:

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
29462 yuri         26  22    0   109G   167M select   7   0:06  11.46% qbittorrent

@Chocobo1
Copy link
Member

Chocobo1 commented Mar 23, 2022

With libtorrent-rasterbar-2.0.5 the memory in qBittorrent goes up into hundreds of gigabytes on FreeBSD:

@yurivict
Perhaps PR #16576 could help you?

@xavier2k6 xavier2k6 removed the Waiting info Waiting for participants to supply more info/fulfill template requirements label Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants