Bug 397164

Summary: Krunner memory leak when running math
Product: [Plasma] krunner Reporter: xdmx <xdmx>
Component: calculatorAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED DUPLICATE    
Severity: major CC: alexander.lohnau, nate
Priority: NOR    
Version First Reported In: 5.13.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Video of the leak

Description xdmx 2018-08-04 23:40:19 UTC
Created attachment 114298 [details]
Video of the leak

I've noticed that when I run some math krunner has a memory leak that increases a lot the ram and cpu used, sometimes I have to kill it because it reaches 500-700mb after a while and the whole system becomes slower.

I thought that it was because of "unmatched" parenthesis, but the problem seems to happen also when they match.

I have all plugins enabled a part from the spell checker one.

Check the video for an example (krunner was killed and just started, with nothing else running on the system)
Comment 1 Alexander Lohnau 2020-07-12 07:01:08 UTC
I tried this out and it is still leaking, but not as extreme and not directly related to the calculator runner.

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