Bug 494740 - kioworker leaks unbounded amounts of RAM
Summary: kioworker leaks unbounded amounts of RAM
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.6.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-14 13:25 UTC by Eva Kurchatova
Modified: 2024-10-14 13:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot of kioworker consumption (31.16 KB, image/png)
2024-10-14 13:25 UTC, Eva Kurchatova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eva Kurchatova 2024-10-14 13:25:50 UTC
Created attachment 174806 [details]
Screenshot of kioworker consumption

SUMMARY
When opening a large (>~2000 lines) text/source file in Kate, kioworker process start consuming unbounded amounts of RAM (Whole 24GiB on my system), the system then falls into swap (zram) and slows down, until eventual OOM or I kill kioworker manually.

It might immediately restart and repeat the same behavior, forcing me to kill the kioworker process multiple times to bring my system into a usable state.

STEPS TO REPRODUCE
1. Open a big enough text file in Kate, like /var/log/Xorg.0.log
2. Wait a bit

OBSERVED RESULT
System comes down to a crawl, need to kill kioworker.

It is possible that some of my system configs are causing this. I have previously updated from Plasma 5, and it was notoriously present forever after.
However, I believe that if my configs are causing this it still should be fixed as it could indicate incorrect handling somewhere. I am not sure what config files to upload yet, so please request them individually after reviewing the issue.

SOFTWARE/OS VERSIONS
Arch Linux 6.11
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3

ADDITIONAL INFORMATION