GNOME Bugzilla – Bug 605083
evince uses too much memory
Last modified: 2018-05-22 13:43:11 UTC
I know that measuring memory usage is a whole science onto itself, but it seems that Evince uses far too much RAM. On Windows 7 (32 bit), Evince 2.28.0 needs more than 50MB RAM to load this file, while Acrobat Reader 9.2 uses about 20 MB RAM. Numbers are "Private Working Set". http://www.rawtherapee.com/data/RawTherapeeManual_2.4.pdf I have another file, not public, unfortunately. On disk, it's a 17MB PDF of a 200 page book. Evince uses over a gig of RAM.
Thanks for taking the time to report this bug. This bug report isn't very useful because it doesn't describe the bug well. If you have time and can still reproduce the bug, please read http://bugzilla.gnome.org/bug-HOWTO.html and add a more useful description to this bug.
Fabio, I grant that my bug report could be more detailed, but I don't know what specific additional information is necessary. The bug-HOWTO is far too generic. Perhaps an Evince developer could chime in?
Well, Evince uses more memory than acroread, but that's not necessarily a bug, because evince is also much faster than acroread (at least in Unix). Evince caches more pages into memory than acroread, which requires more memory but makes it faster too. So, 50MB doesn't look like a bug to me, but 1Gb it's definitely an issue. Without the document there's not much we can do, though. Thanks for reporting.
Carlos, thanks for the explanation. I'll find a public PDF that shows ridiculous memory behavior and post that here. If there's a new 2.28.x build for Windows, I can test with that. If not, I'll test with 2.28.0.
I've narrowed down the bug a bit. There are some PDFs that Evince loads with good memory usage (say, 20 MB private working set), but when searching through those PDFs (Ctrl+F), private working set grows dramatically (by tens or hundreds of megabytes). I can reproduce this on three different files, but none are publicly available and I can't attach them here. However, I'm happy to email the PDF to a developer directly. Any takers?
*** Bug 605692 has been marked as a duplicate of this bug. ***
(In reply to comment #5) > I've narrowed down the bug a bit. There are some PDFs that Evince loads with > good memory usage (say, 20 MB private working set), but when searching through > those PDFs (Ctrl+F), private working set grows dramatically (by tens or > hundreds of megabytes). I can reproduce this on three different files, but none > are publicly available and I can't attach them here. However, I'm happy to > email the PDF to a developer directly. Any takers? Do you still can reproduce the issue with a newer Evince? If any of those document are behind a paywall, can you point us the links?
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/122.