[okular] [Bug 418893] Okular uses > 50% of RAM with setting "ram usage: greedy"

Postix bugzilla_noreply at kde.org
Sun Mar 15 20:13:23 GMT 2020


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

--- Comment #3 from Postix <postix at posteo.eu> ---
Heres the original wording
(https://docs.kde.org/trunk5/en/kdegraphics/okular/okular.pdf) *:

> Use Greedy profile to preload all pages without risk of system memory overfull (only 50% of total memory or free memory will be used).

Does this include swap memory? 

Let's make an example: If 16 GB Ram are installed and 4 GB are used by the
system, 12 GB are available.
=> 50% of total memory = 8 GB and 50% of the available memory = 6 GB

1) If Okular now loads 1 PDF, will it use 8 GB or 6 GB? 

2) As it takes some time to fill the RAM, what happens if in the meantime the
available RAM becomes occupied by another process
or more RAM available?

3) What should happen if a second PDF will be opened short after the 1st PDF?
How does Okular manage the RAM usage for both PDFs now in order to keep the
memory usage under the limit?

(In reply to David Hurka from comment #2)
> Could the reason be that each individual Okular::Part uses 50% as maximum?
> (I. e. 50% for each opened file.)

That's a good question!

* I now see that the German translation is not very accurate. In the original
it doesn't say "whichever value is bigger" as I claimed in the opening post.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list