https://bugs.kde.org/show_bug.cgi?id=511347

            Bug ID: 511347
           Summary: Enormous memory usage on big numbers in calculator
    Classification: Plasma
           Product: krunner
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: calculator
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

SUMMARY
Calculation which results in very big numbers use an insane amount of ram. Ram
doesn't free up unless krunner is killed.

STEPS TO REPRODUCE
1. Enter the following calculation
`99999999999999999999999*99999999999999999999999*99999999999999999999999*99999999999999999999999*99999999999999999999999*99999999999999999999999*99999999999999999999999`

OBSERVED RESULT
Ram usage by krunner increases to 500MB.
Ram doesn't free up until krunner is killed.
Increasing the calculation increases ram usage exponentially (reached 22GB on
my system by copy pasting the above calculation multiple times)

EXPECTED RESULT
Drastically lower ram usage 

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.17.4-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 32 GiB of RAM (30,9 GiB usable)
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D75
System Version: 1.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to