PDF plugin uses huge amounts of memory
Bug #505644 reported by
zp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gloobus-preview |
Fix Committed
|
High
|
Alexandr Grigorcea |
Bug Description
I'm on rev 92.
Here is the file:
http://
Results in a huge spike to RAM used.
Probably because you are keeping all the pages that have been viewed in RAM for faster viewing later.
We should only have a few pages in RAM. I suggest 10 pages up and below the current page you are looking at.
Similar to Evince. They display "Loading..." on pages that aren't fully rendered.
Related branches
lp:~cahr-gr/gloobus-preview/idoc
(Merged)
Changed in gloobus-preview: | |
milestone: | 0.5 → 0.5.1 |
Changed in gloobus-preview: | |
assignee: | BadChoice (guitarboy000) → Jordi Puigdellívol (jordi-gloobus) |
importance: | Medium → High |
milestone: | 0.5.1 → 0.5 |
Changed in gloobus-preview: | |
status: | In Progress → Fix Committed |
assignee: | Jordi Puigdellívol (jordi-gloobus) → Alexandr Grigorcea (cahr-gr) |
To post a comment you must log in.
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)