Bug 462240

Summary: Huge Memory drain on zoom
Product: [Applications] okular Reporter: Kallinger <jkallinger97>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 22.08.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot system monitor
not the pdf file where i first noticed the problem but it also shows the same problem and is small enough to upload

Description Kallinger 2022-11-25 14:23:20 UTC
Created attachment 154023 [details]
Screenshot system monitor

SUMMARY

When zooming into my PDF File i can notice a fast and very substantial increase in ram (see attachment) and CPU usage.
I'm using the "greedy" memory usage setting, but a friend could reproduce it with default settings, if not as severe. 




STEPS TO REPRODUCE
1. Open pdf (will supply the pdf used in attachment) 
2. zoom in (min 400%, the more the worse the result)
3. huge ram usage

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Kallinger 2022-11-25 14:25:16 UTC
Sorry about that, pressed enter before i was done

Operating System: Manjaro Linux
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7
Kernel Version: 5.15.78-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C37
System Version: 1.0
Comment 2 Kallinger 2022-11-25 14:27:57 UTC
Created attachment 154024 [details]
not the pdf file where i first noticed the problem but it also shows the same problem and is small enough to upload