Bug ID 1141444
Summary clementine: a memory hog
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee davejplater@gmail.com
Reporter jslaby@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Created attachment 810426 [details]
clementine stdout+stderr

I think, since the upgrade to a git snapshot of clementine, it eats a lot of
memory.

1) it allocates 20T of virtual memory on startup. What is the reason for that?

2) it leaks memory as after a week or so, it occupies 2G of memory.

It's built with -fsanitize=address. So I am attaching the output. From
ext/libclementine-tagreader/tagreader.cpp:

 TagReader::TagReader()
    : factory_(new TagLibFileRefFactory),  // <- one of the leaks is here
      network_(new QNetworkAccessManager),
      kEmbeddedCover("(embedded)") {}

I don't see a destructor, so where are those two "new"ed memories freed?

Also why do you build with -fsanitize=address:
https://build.opensuse.org/package/rdiff/multimedia:apps/clementine?linkrev=base&rev=109

It does not allow running with valgrind.


You are receiving this mail because: