Bug 475461 - Background parser requires huge amount of ram on big projects e.g. the linux kernel
Summary: Background parser requires huge amount of ram on big projects e.g. the linux ...
Status: RESOLVED DUPLICATE of bug 410455
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.12.230801
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-11 09:27 UTC by Werner Sembach [TUXEDO]
Modified: 2023-10-12 08:12 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***