https://bugs.kde.org/show_bug.cgi?id=470174
Bug ID: 470174 Summary: 40 Characters Annotation consuming 20MB Classification: Applications Product: okular Version: 23.04.1 Platform: Archlinux OS: Linux Status: REPORTED Severity: grave Priority: NOR Component: general Assignee: okular-devel@kde.org Reporter: der.wolfgang.amadeus.moz...@gmx.at Target Milestone: --- Created attachment 159208 --> https://bugs.kde.org/attachment.cgi?id=159208&action=edit File with one comment with text "a" - original size ~80kb now 2MB! I commented a file with a few characters. Initially the file had ~ 80KB. With the annotations ~20MB and Okular had an excessive CPU consumption (100% of a core - should be 1 Thread that behaves strange) The CPU consumtion starts when scrolling. With 12 comments my file was lagging on scroll. When comment is deleted, file keeps memory consumption. Tried it with some other files. About 4MB for one comment with a few characters like "aspofksdfjdsafjfsadpfg"! EXPECTED RESULT Annotations to consume < 10KB for text only per comment and use 0.01% of CPU. The file should have the original size after deletion of comments. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are the assignee for the bug.