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

            Bug ID: 480572
           Summary: Elisa causes high CPU usage and higher-than-usual RAM
                    usage while (choppily) scrolling through huge
                    libraries.
    Classification: Applications
           Product: Elisa
           Version: 24.01.90
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: matthieu_gall...@yahoo.fr
          Reporter: radb...@gmail.com
  Target Milestone: ---

Created attachment 165378
  --> https://bugs.kde.org/attachment.cgi?id=165378&action=edit
Generated backtrace of Elisa after it crashes while attempting to close it
while it uses system resources.

SUMMARY
Elisa causes high CPU usage while quickly scrolling through big libraries
through any view, this goes away after scrolling stops in a few seconds.
Elisa also uses more RAM than usual when you quickly scroll through a big
library, but this amount doesn't decrease even after you stop scrolling until
you exit and reopen Elisa.

STEPS TO REPRODUCE
1. Import a big music library (in my case, it's 7800+ unique files) 
2. Scroll quickly via either a scroll bar or scroll REALLY fast using a mouse
wheel in any category that displays your local files
(Albums/Artists/Tracks/Genres).
3. Use any resource monitoring tool to check how much resources Elisa is using.

OBSERVED RESULT
Elisa choppily scrolls through the big library, incurring temporarily high CPU
usage (up to 85%! possibly higher?) and higher than usual ram usage (I've got
it from 400MBs-1GB!~ of RAM now, but it may get higher with a bigger
library/the more you quickly scroll.)

EXPECTED RESULT
Elisa handles scrolling through said library smoothly with minimal impact on
system resources. (staying around 100MBs~, which is what I usually see before
doing this)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40 KDE Plasma (Rawhide)
(available in About System)
KDE Plasma Version: 5.92.0 (Plasma 6.0 RC1)
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
The music library is stored on a USB 3.1 Gen 1 flash drive with up to 150MB/s
in read speeds plugged into a USB 3.1 Gen 2 USB C port, I'm not sure if this
would be the prime cause of the issue but I unfortunately can not test this as
I do not have the storage required to have all these files on my SSD.

Below are my hardware specs for reference:
Processors: 4 × Intel® Core™ i5-6267U CPU @ 2.90GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Graphics 550

P.S My current daily Linux Desktop is a Debian 12 Stable KDE install where I
often use Elisa, and I have been able to reproduce this bug on the natively
packaged version of Elisa (22.12.3) with worse results involving straight
crashes when using the scroll bar to scroll quickly.

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

Reply via email to