Comment 2 for bug 505644

Revision history for this message
zp (zekopeko-deactivatedaccount) wrote : Re: [Bug 505644] Re: PDF plugin uses huge amounts of memory

On Mon, Jan 11, 2010 at 1:07 PM, BadChoice <email address hidden> wrote:
> And what about when we're on page 40, keep the previous 30 pages loaded,
> or unload them?
>
> I load All pages now for fast viewing (and loading) but yes, it taks so much ram :D so we need to decide.
> We can load pages dinamically.
>
> 3 options:
>
>   1. All pages in memory (never load nor unload)
>   2. load 20 Pages and the nexts dinamically when needed (load when needed, never unload)
>   3. Just have 20 pages loaded (unload and load when needed)
> --
> PDF plugin uses huge amounts of memory
> https://bugs.launchpad.net/bugs/505644
> You received this bug notification because you are a direct subscriber
> of the bug.
>

How about:

Page we are viewing and 5-10 pages up and down?
That should be reasonable. And don't keep stuff in memory expect those
pages we rendered. The point is to make ram usage small.
Evince loads pages pretty fast for me. So no point in keeping all the
pages in memory.