Bug 463062

Summary: Memory leak during parsing a project.
Product: [Applications] kdevelop Reporter: Marcin <ms27>
Component: Language Support: CPP (Clang-based)Assignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Marcin 2022-12-15 11:08:51 UTC
SUMMARY
The background process bar shows 99% and it doesn't finish.


STEPS TO REPRODUCE
1.  git clone https://github.com/EsotericSoftware/spine-runtimes.git
2.  Load this project with "own building system".
3.  If this problem doesn't occur, just restart kdevelop a few times.

OBSERVED RESULT
$ free -m
               total        used        free      shared  buff/cache   available
Mem:          128740       85987       33223         989        9529       40577
Swap:           3813           0        3813

$ cat /proc/`pidof kdevelop`/status
Name:   kdevelop
Umask:  0002
State:  S (sleeping)
Tgid:   86540
Ngid:   0
Pid:    86540
PPid:   2216
TracerPid:      0
Uid:    1000    1000    1000    1000
Gid:    1000    1000    1000    1000
FDSize: 256
Groups: 4 24 27 30 46 122 131 132 998 1000 
NStgid: 86540
NSpid:  86540
NSpgid: 1649
NSsid:  1649
VmPeak: 75137240 kB
VmSize: 75137240 kB
VmLck:        16 kB
VmPin:         0 kB
VmHWM:  67026068 kB
VmRSS:  67026068 kB
RssAnon:        66771604 kB
RssFile:          225948 kB
RssShmem:          28516 kB
VmData: 67660392 kB
VmStk:       132 kB
VmExe:        92 kB
VmLib:    427072 kB
VmPTE:    132812 kB
VmSwap:        0 kB
HugetlbPages:          0 kB
CoreDumping:    0
THP_enabled:    1
Threads:        84
SigQ:   0/514167
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000001000
SigCgt: 0000000141814eff
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 000001ffffffffff
CapAmb: 0000000000000000
NoNewPrivs:     0
Seccomp:        0
Seccomp_filters:        0
Speculation_Store_Bypass:       thread vulnerable
SpeculationIndirectBranch:      conditional enabled
Cpus_allowed:   ffffffff
Cpus_allowed_list:      0-31
Mems_allowed:   00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list:      0
voluntary_ctxt_switches:        23239
nonvoluntary_ctxt_switches:     462 



SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ubuntu 22.04LTS 5.15.0-56-generic 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION