Bug 421091 - High memory usage
Summary: High memory usage
Status: RESOLVED DUPLICATE of bug 388854
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-05 23:03 UTC by nilsocket
Modified: 2020-05-07 15:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
KSysGuard screenshot (76.44 KB, image/png)
2020-05-05 23:03 UTC, nilsocket
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nilsocket 2020-05-05 23:03:07 UTC
Created attachment 128187 [details]
KSysGuard screenshot

Okular is using way too much of memory

Steps to reproduce:
Open any PDF file, and scroll through the document for sometime.

It even crossed 6GiB in my-case.
In comparison, I tested doing the same with Evince, at max it crossed 300MiB and it is much more faster.

Okular Version: 1.10.0

Operating System: Arch Linux 
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Kernel Version: 5.6.8-arch1-1
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM

Thank you.
Comment 1 2wxsy58236r3 2020-05-06 08:57:43 UTC
Have you tried adjusting the memory usage settings in Okular? You can choose from "Low", "Normal", "Aggressive" and "Greedy".
Comment 2 nilsocket 2020-05-06 11:08:21 UTC
With "low" setting it isn't crossing 300MiB.

Information which I reported is with "Normal" setting.

Thank you.
Comment 3 2wxsy58236r3 2020-05-06 11:57:01 UTC
(Clearing the NEEDSINFO flag)
Comment 4 Albert Astals Cid 2020-05-06 19:49:05 UTC
Not a bug, memory is there to be used.
Comment 5 nilsocket 2020-05-06 22:25:59 UTC
(In reply to Albert Astals Cid from comment #4)
> Not a bug, memory is there to be used.

Yes memory is there to be used, but it's inappropriate to use 6GiB for a single pdf, under "normal" setting.

Thank you.
Comment 6 Nate Graham 2020-05-07 15:24:57 UTC

*** This bug has been marked as a duplicate of bug 388854 ***