Bug 419650

Summary: okular mem leak on ubuntu 18
Product: [Applications] okular Reporter: jocashe
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: yurchor
Priority: NOR    
Version First Reported In: 1.3.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description jocashe 2020-04-04 21:54:49 UTC
memory leak on Ubuntu 18.x, fwiw same file shared with (open at same time as) other PDF software


STEPS TO REPRODUCE
1. launch okular and open some PDF
2. wait
3. memory taken (in my case) 1.3 GB (about 1 day)

OBSERVED RESULT

mem

EXPECTED RESULT

less mem

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

ADDITIONAL INFORMATION
Have a good day!
Comment 1 Yuri Chornoivan 2020-04-05 04:48:40 UTC
Can you try a modern version of Okular via flatpak or compile it by yourself?

https://flatpak.org/setup/Ubuntu/

https://okular.kde.org/download.php

Does it happen when you change "Performance" option to the less "greedy" flavor?

https://docs.kde.org/trunk5/en/kdegraphics/okular/configperformance.html

Thanks in advance for your answers.
Comment 2 Yuri Chornoivan 2020-04-06 15:11:49 UTC
From the reporter:

> Okular this morning after 24 hours (Performance | Memory Usage | Low)
> is 81.4 MB, so looks good.  
> 
> Have a good day.
> Anthony
>
On Sun, 2020-04-05 at 10:30 -0700, john wrote:
> Hi Yuri.  Just downloaded it from the "Ubuntu Software" store. says
> version is 4:17.12.3.  I'll check out the less greedy option today.
>
> Thanks for your work on this software. Stay healthy 
> Anthony
>
> fwiw I am re-reading Prata's C Primer Plus.  I keep the appendix -
> with
> answers - open in Okular while I work on the exercises open in the
> pdf
> viewer "Document Viewer" I think from Calibre.  Same PDF, open in two
> apps (at same time).