After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 357846 - evince full the memory
evince full the memory
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: PDF
0.6.x
Other All
: Normal critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-09-26 16:26 UTC by Luca Guglielmetti
Modified: 2007-09-03 10:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luca Guglielmetti 2006-09-26 16:26:47 UTC
Please describe the problem:
by reading this pdf [1] evince full my system memory and crash

[1] http://www.imladris.immaginario.net/risorse/tdm/sindarin/Gobeth-1.0.zip

Steps to reproduce:
1. download the pdf linked above
2. open it with evince
3. read a lot of pages



Actual results:
evince full all my system memory (512 Mb RAM and 256 Mb swap)

$ free -m
             total       used       free     shared    buffers     cached
Mem:           502        496          6          0          0         21
-/+ buffers/cache:        475         27
Swap:          243        243          0
Total:         746        740          6

$ top
6264 evellon   15   0  709m 450m 6840 S  0.0 89.7   0:08.28 evince

Expected results:
evince should cache the pages and free the memory when neccessary

Does this happen every time?
yes

Other information:
Comment 1 Nickolay V. Shmyrev 2006-10-01 09:54:59 UTC
Hm, I can't reproduce this problem. Does poppler upgrade helps?
Comment 2 Luca Guglielmetti 2006-10-19 20:04:04 UTC
(In reply to comment #1)
> Hm, I can't reproduce this problem. Does poppler upgrade helps?
> 
a) I've upgraded poppler to the lastest version of Gentoo Linux Portage (poppler 0.5.4) and the issue still exist:

evince 0.6.0, poooler 0.5.4 on galvorn after reading lot of pages:

$ top
21378 evellon   16   0  662m 445m 7396 S  1.7 88.6   0:13.53 evince 

$ free -m
             total       used       free     shared    buffers     cached
Mem:           503        497          5          0          0         29
-/+ buffers/cache:        467         35
Swap:          243        243          0
Total:         746        740          5



b) I've reproduced the bug on a different machine, too. The result is the same: evince full the memory of the computer and the wm goes unusable.

evince 0.5.3-r1, poppler 0.5.3 on olthol (the second machine) after reading lot of pages:

initial memory usage:

$ free -m
             total       used       free     shared    buffers     cached
Mem:           756        586        169          0          0        464
-/+ buffers/cache:        122        633
Swap:          244         14        229
Total:        1000        601        398

final memory usage:
$ free -m
             total       used       free     shared    buffers     cached
Mem:           756        747          8          0          0         11
-/+ buffers/cache:        735         20
Swap:          244        244          0
Total:        1000        991          8

$ top
10373 evellon   16   0  963m 671m 2896 S    5 88.8   0:31.31 evince

c) another user of Gentoo have confirmed the bug, using kpdf and poppler [1]

[1] http://bugs.gentoo.org/show_bug.cgi?id=148992
Comment 3 Carlos Garcia Campos 2007-09-03 10:48:35 UTC
Looks like an old poppler bug or something like that. Feel free to reopen it if the problem is still present for you with evince >= 0.9