AliYousuf / open-pdf-presenter

Automatically exported from code.google.com/p/open-pdf-presenter
GNU General Public License v3.0
0 stars 0 forks source link

Memory usage is so high. #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Hi, i find the application memory usage so excessive, for a 3.6MB beamer 
presentation open-pdf-presenter uses 1.1GB of memory. That makes it unusable in 
machines with limited memory as netbooks.

Original issue reported on code.google.com by yassine....@gmail.com on 12 Dec 2013 at 7:15

GoogleCodeExporter commented 8 years ago
How big is the resolution on the main screen?

open-pdf-presenter is designed to switch slides fast, so it renders all slides 
at the appropriate resolution and keeps them in memory. Rendering the slides 
on-demand would only make it worse for netbooks as they tend to be even more 
CPU limited than memory limited.

Original comment by zait...@gmail.com on 12 Dec 2013 at 7:21

GoogleCodeExporter commented 8 years ago
I tested the app in my laptop with HD resolution (1366x768).
Okular (KDE's PDF viewer) is doing a great job by giving the user the ability 
to control the memory usage. You can see in these images (attachement files) 
the options.
I think open-pdf-presenter can do something like the default option in Okular 
so it preload only next page (or next 2 pages) and removes from the memory the 
last one (or two).

Original comment by yassine....@gmail.com on 12 Dec 2013 at 7:46

Attachments:

GoogleCodeExporter commented 8 years ago
May be interesting to explore keeping them in memory but with some simple 
lossless compression (for simple slides without image backs it'll probably work 
very well) or even png.

But yeah, it is true that okular manages memory better. It is also true that, 
especially on netbooks, you may hit a complex page and okular gets stuck 
rendering it for a while right in front of everyone and during your 
presentation. o-p-p's design aims to exactly eliminate that.

Original comment by knuck...@gmail.com on 19 Jul 2014 at 12:30