Evince 3.18.2 claims excessive memeoy when opening a multipage file created with AbbyyFineReader14 (AFR14, runs on Windows10)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
evince (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
If Evince 3.18.2 (running on Xubuntu 16.04.4) loads such a pdf file (e.g. after doubleclicking on the file name in Thunar), a few seconds later more than 3 GiB of RAM are in use. Then memory consumption stays almost stationary for some time to sharply rise again.
Finally you may be caught in swapping memory and becoime almost unable to control the computer, because the cursor reacts on mouse movements only with much time delay.
In some cases, after many minutes of heavy CPU use, finally a result is shown. Memory consumption may be up to 6GiB for a two page grayscale pdf document and even for a two page BW-document! In such a case, after stopping Evince, all the memory is back again and the computer is operational as it was before.
The same documents load quickly in Firefox 59.0.2 (64-Bit) and without excessive memory consumption.
The syndrome does not show up, if Evince shall read a single page pdf document. But even if you add the same content into a single document (in AFR14) to make it a two page document, the result shows the syndrome.
The syndrome does not show up with files made by AFR9.
GIMP2.8 and LibreOffice (Draw) Build-ID: 1:5.1.6~
If someone needs sample files to look into it, I can provide some.
It even looks like Evince claims this excessive memory already when it is started from a command line and shows the “last opened“ view. The included example Test AFR14_2 Seiten, beruht auf Test-AFR14_
There were known errors which may or may not have the same root cause: in Evince 0.6x, see https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: evince 3.18.2-1ubuntu4.3
ProcVersionSign
Uname: Linux 4.4.0-122-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.16
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu May 3 15:15:30 2018
InstallationDate: Installed on 2018-02-10 (81 days ago)
InstallationMedia: Xubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcEnviron:
LANGUAGE=de_DE
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: evince
UpgradeStatus: No upgrade log present (probably fresh install)
The same memory-wasteful and cpu stressing behavior also shows up in GIMP and in Xpdf. It might be a bug in Poppler, the underlying pdf representation library, I suspect. According to Poppler's site, Evince, Gimp and Xpdf all rely on poppler.