Page 1 of 1

Memory leak qBittorrent 2.8.5 ArchLinux

Posted: Sat Sep 17, 2011 3:49 pm
by prMoriarty
I use qBittorrent ver. 2.8.5, and after some time it starts to consume all available memory. What data can I send to help solve the problem?
OS: ArchLinux
Sorry for my English, Google Translate

Re: Memory leak qBittorrent 2.8.5 ArchLinux

Posted: Sun Sep 18, 2011 1:44 pm
by christophe.dumez
Hi,

Do you have RSS enabled? If you do, you could try disabling it and see if it helps.

Re: Memory leak qBittorrent 2.8.5 ArchLinux

Posted: Sun Sep 18, 2011 1:46 pm
by christophe.dumez
You can also try the same for other optional modules (Search, log viewer). It would be helpful to identify the source of the memory leak.
It is likely you have a non-default setting enabled which triggers the memory leaking. I run qBittorrent in valgrind memory checker tool regularly and make sure there are no memory leaks (however, I cannot test all the settings).

Re: Memory leak qBittorrent 2.8.5 ArchLinux

Posted: Fri Nov 02, 2012 5:40 pm
by John Peterson
Please explain the PageFileUsage. It has increased linearly with time since CreationDate. (%AppData%/qBittorrent/qBittorrent.ini is default.)

filever qbittorrent.exe && sha1sum qbittorrent.exe && wmic process get Name,CreationDate,PageFileUsage,PeakPageFileUsage|grep qbittorrent && date -u +%FT%TZ && ver
--a-- W32i    -  -              -  - 15,964,160 09-14-2012 qbittorrent.exe
c1f63dd780463cc35c2227f14208978c6c5c3fe9 *qbittorrent.exe
20120925185619.757878+120  qbittorrent.exe                    1063324        1064352
2012-11-02T17:25:47Z
Microsoft Windows [Version 6.1.7601]

Re: Memory leak qBittorrent 2.8.5 ArchLinux

Posted: Fri Nov 02, 2012 10:57 pm
by ironcross
[quote="John Peterson"]
Please explain the PageFileUsage. It has increased linearly with time since CreationDate. (%AppData%/qBittorrent/qBittorrent.ini is default.)

filever qbittorrent.exe && sha1sum qbittorrent.exe && wmic process get Name,CreationDate,PageFileUsage,PeakPageFileUsage|grep qbittorrent && date -u +%FT%TZ && ver
--a-- W32i    -  -              -  - 15,964,160 09-14-2012 qbittorrent.exe
c1f63dd780463cc35c2227f14208978c6c5c3fe9 *qbittorrent.exe
20120925185619.757878+120  qbittorrent.exe                    1063324        1064352
2012-11-02T17:25:47Z
Microsoft Windows [Version 6.1.7601]
[/quote]

What does this have to the memory leak in ArchLinux? Please post in the correct section (Windows i presume).

Re: Memory leak qBittorrent 2.8.5 ArchLinux

Posted: Sat Nov 03, 2012 5:00 am
by John Peterson
[quote="ironcross"]
What does this have to the memory leak in ArchLinux? Please post in the correct section (Windows i presume).
[/quote]
Are you under the impression that C++ memory allocation and freeing occurs differently if compiled for Windows instead of Linux?

Because a memory leak is a clearly definable software design issue it's of benefit to discuss all such design instances in the same thread.

Re: Memory leak qBittorrent 2.8.5 ArchLinux

Posted: Sat Nov 03, 2012 8:16 am
by ironcross
If your problem with qB is under Windows - post in Windows section. If your problem with qB is under some Linux distribution - post in Linux section. If you want to discuss C++ related problems - post in the Generic section.

Re: Memory leak qBittorrent 2.8.5 ArchLinux

Posted: Sat Nov 03, 2012 11:35 am
by Dayman
[quote="John Peterson"]
Please explain the PageFileUsage. It has increased linearly with time since CreationDate. (%AppData%/qBittorrent/qBittorrent.ini is default.)

filever qbittorrent.exe && sha1sum qbittorrent.exe && wmic process get Name,CreationDate,PageFileUsage,PeakPageFileUsage|grep qbittorrent && date -u +%FT%TZ && ver
--a-- W32i    -  -              -  - 15,964,160 09-14-2012 qbittorrent.exe
c1f63dd780463cc35c2227f14208978c6c5c3fe9 *qbittorrent.exe
20120925185619.757878+120  qbittorrent.exe                    1063324        1064352
2012-11-02T17:25:47Z
Microsoft Windows [Version 6.1.7601]
[/quote]
I cannot confirm this. No linear increase, only issues described here http://qbforums.shiki.hu/index.php?topic=997.0

As for OP post. 2.8.5 is way outdated. Try using a newer one, maybe from AUR.

Re: Memory leak qBittorrent 2.8.5 ArchLinux

Posted: Fri Nov 16, 2012 4:02 pm
by Peter
Topic is outdate, closing it.