Bug 490448 - Extreme memory usage on long operations
Summary: Extreme memory usage on long operations
Status: REPORTED
Alias: None
Product: krunner
Classification: Plasma
Component: calculator (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 511347 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-07-18 11:49 UTC by jeuamix
Modified: 2025-10-30 16:52 UTC (History)
2 users (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 jeuamix 2024-07-18 11:49:23 UTC
When entering extremely long operations in krunner, this will result in an exponential use of memory

SUMMARY

This operation: 2+2*999999999999999999999999999999999999999999999999999999999999999999999999
Will make baloorunner use 2.3GiB of memory




STEPS TO REPRODUCE
1. Open krunner
2. type very long operation (ex: 2+2*99999999...)
3. Notice steady increase in memory usage

OBSERVED RESULT
baloorunner fills up ram exponentially (eventually slowed my computer to a crawl)

EXPECTED RESULT
baloorunner doesn't use 32GiB of ram / limits the max size of calculation

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.8-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 31,0 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D75
System Version: 1.0
Comment 1 Nate Graham 2025-10-30 16:52:52 UTC
*** Bug 511347 has been marked as a duplicate of this bug. ***