Bug 475461

Summary: Background parser requires huge amount of ram on big projects e.g. the linux kernel
Product: [Applications] kdevelop Reporter: Werner Sembach [TUXEDO] <wse>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal CC: igorkuo
Priority: NOR    
Version First Reported In: 5.12.230801   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Werner Sembach [TUXEDO] 2023-10-11 09:27:07 UTC
SUMMARY
Working on the linux kernel with kdevelop had it crash on me consistently when the background parser reached ~30%. Looking into the system monitor I saw that when opening the linux kernel source in kdevelop, the ram usage continiously rises and the crash happens when I'm out of ram and swap space. For testing purposes I increased my swap to 172 GB. Now it no longer crashes, but ram+swap usage is between 80 and 100 GB


STEPS TO REPRODUCE
1. Open the linux kernel source with kdevelop

OBSERVED RESULT
KDevelop uses huge amount of ram and eventually crashes

EXPECTED RESULT
More reasonable ram usage

SOFTWARE/OS VERSIONS
Linux Kernel Version: 6.2.0-10025-tuxedo
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Comment 1 Igor Kushnir 2023-10-12 08:12:11 UTC

*** This bug has been marked as a duplicate of bug 410455 ***