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

            Bug ID: 474346
           Summary: baloo_file_extractor fills swap space even though
                    there's plenty of RAM available
    Classification: Frameworks and Libraries
           Product: frameworks-baloo
           Version: 5.109.0
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Baloo File Daemon
          Assignee: baloo-bugs-n...@kde.org
          Reporter: m...@ambraspace.com
  Target Milestone: ---

SUMMARY
baloo_file_extractor fills swap space even though there's plenty of RAM
available.


STEPS TO REPRODUCE
1. Verify that file search (including file contents) is enabled and that the
files have been indexed.
2. Check RAM and swap file usage. If there's plenty of RAM available and swap
usage is couple of GB try following steps.
3. Open System activity (CTRL+ESC) and stop baloo_file_extractor (right click
on baloo_file_extractor and go to Send signal -> STOP).
4. Remove swap file (swapoff -a)
5. Mount swap file (swapon -a)
6. Verify that swap usage is around 0%.
7. Resume baloo_file_extractor (Send signal -> CONT)
8. Monitor swap file usage. It should go up very quickly after you resume
baloo_file_extractor.

OBSERVED RESULT
After starting or resuming baloo_file_extractor swap file usage goes up very
quickly although there's plenty of RAM available.

EXPECTED RESULT
baloo_file_extractor should use RAM if it's available and use swap only if
there's no RAM available

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.4.12-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × 12th Gen Intel® Core™ i5-1235U
Memory: 31,0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Dell Inc.
Product Name: Latitude 5530

ADDITIONAL INFORMATION
I haven't noticed similar with previous versions of KDE/Plasma/Baloo.
I have set "vm.swappiness=10". It should use swap even less. I use swap file
(not swap partition).

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

Reply via email to