https://bugs.kde.org/show_bug.cgi?id=473310

            Bug ID: 473310
           Summary: Discover takes up more than 700 MB of memory when
                    showing the "updates" page
    Classification: Applications
           Product: Discover
           Version: 5.27.7
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: discover
          Assignee: plasma-b...@kde.org
          Reporter: sephiroth...@hotmail.it
                CC: aleix...@kde.org
  Target Milestone: ---

Created attachment 160918
  --> https://bugs.kde.org/attachment.cgi?id=160918&action=edit
Screenshot of KSysGuard showing RAM usage

SUMMARY
On both a virtual machine and an old MacBook I have, both configured with 4 GB
of RAM, Discover takes up more than 700 MB of RAM when launching it through the
update icon in the system tray. Considering the amount of RAM available on the
system, this is very significant.
It should be noted that in both cases the machines are quite vanilla, with
little software installed, no PPAs configured, different themes (the VM, from
which the screenshot comes, uses Breeze Dark; the MacBook uses WhiteSur) and no
snaps or flatpaks installed. In both cases it is the plasma-discover process
itself which takes up a large chunk of RAM. Both machines received new
installations, with the VM being updated over the past couple of years and the
MacBook over the past six months. It does not seem to matter whether there are
updates available or not, as the memory usage seems to be consistent even when
there are no updates available.
When launching Discover manually, therefore with it showing the homepage, the
plasma-discover process takes up around 450 MB of RAM. This RAM usage is
maintained more or less constant even when showing the updates.
The behaviour is not seen on my other machines, where Discover takes up ~300 MB
of RAM, which seems to be the normal amount of memory.

STEPS TO REPRODUCE
1. Launch Discover from the "updates" system tray icon.

OBSERVED RESULT
Discover takes up more than 700 MB of RAM.

EXPECTED RESULT
Discover takes up less memory - the average seems to be ~300 MB.

SOFTWARE/OS VERSIONS
Linux: KDE neon
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to