Bug 511492

Summary: Code parsing slows down the whole Linux system after some time
Product: [Applications] kdevelop Reporter: Barade <barade.barade>
Component: Language Support: CPP (Clang-based)Assignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal CC: igorkuo
Priority: NOR    
Version First Reported In: 6.3.250801   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Barade 2025-11-02 01:58:41 UTC
SUMMARY
Hi,
I a have tried to use KDevelop for my project https://github.com/tdauth/wc3lib
For some time it successfully parses the code but after some time (several minutes) it slows down my whole Linux system and I have to restart my Computer.
Not sure what's going on but this should never be the case.
I even reduced the number of threads for code parsing to 2 but no change at all.

STEPS TO REPRODUCE
1. Import the project wc3lib with all CMake options enabled
2. Wait several minutes

OBSERVED RESULT
Slows down the whole system until nothing reacts anymore. The whole Plasma UI cannot be used anymore.

EXPECTED RESULT
Never slow down the rest of the system.

SOFTWARE/OS VERSIONS
MESA-INTEL: warning: Haswell Vulkan support is incomplete
Operating System: Ubuntu 25.10
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-6-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4710HQ CPU @ 2.50GHz
Memory: 16 GiB of RAM (15.0 GiB usable)
Graphics Processor 1: NVIDIA GeForce GTX 860M
Graphics Processor 2: Intel® HD Graphics 4600

ADDITIONAL INFORMATION
Comment 1 Igor Kushnir 2025-11-02 08:30:49 UTC
I suspect your RAM is exhausted. Consider increasing its size. Or placing the primary swap partition/file on an SSD. Or setting the temporary directory environment variable for KDevelop to a location on disk rather than in tmpfs (which is usually in RAM).

See also the workarounds proposed under Bug 410455.