Bug 3394

Summary: evince eats a huge amount of memory rendering Page 10 of this file.
Product: poppler Reporter: Phil Armstrong <phil>
Component: generalAssignee: Kristian Høgsberg <krh>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: pvillavi, sylvain.pasche
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
URL: http://www.tfl.gov.uk/streets/downloads/pdf/LRSR/Topic_Factsheets/Pedal-Cyclist-Casualties-04-05.pdf
Whiteboard:
i915 platform: i915 features:
Attachments: pdf which causes the problem
generated postscript
pdf which causes the problem (example 2)

Description Phil Armstrong 2005-05-25 02:16:39 UTC
Evince needs well over a gigabyte of memory to render page 10 of this file.

xpdf chews up a lot of CPU, but only needs 12Mb of memory. Looks like there's a
memory leak somewhere...

I'm guessing this is a poppler bug, but will happily refile against evince
itself if you think otherwise!
Comment 1 Phil Armstrong 2005-05-25 02:18:00 UTC
Created attachment 2774 [details]
pdf which causes the problem

Attached pdf
Comment 2 Jeff Muizelaar 2005-06-03 18:57:57 UTC
hits drawImageMask a lot of times
Comment 3 Sylvain Pasche 2005-08-09 04:17:12 UTC
Same problem here with the following Pdf file:

http://mct.sbb.ch/mct/fr/print/parkandrail.pdf
Comment 4 Patrick Pletscher 2005-09-09 22:46:32 UTC
Created attachment 3216 [details]
generated postscript

The postscript file which results from printing within evince.
Comment 5 Patrick Pletscher 2005-09-09 22:51:43 UTC
Big sorry, the postscript above has nothing to do with this bug (but rather with
3391), but I don't know how to delete an entry? Thanks
Comment 6 Sylvain Pasche 2005-09-10 04:38:17 UTC
Created attachment 3218 [details]
pdf which causes the problem (example 2)

Attached the second pdf document to show the problem, and obsoleted the wrong
attachement.
Comment 7 Daniel Holbach 2006-01-19 23:58:29 UTC
https://launchpad.net/distros/ubuntu/+source/evince/+bug/28942 with attached
.pdf exposes the same symptoms.
Comment 8 Werner Meisner 2007-01-12 14:01:15 UTC
I using poppler-0.5.4 an have the same Problem
Viewing 20 pages takes about ~512MB

File:
http://www.itu.int/rec/dologin_pub.asp?lang=e&id=T-REC-H.222.0-200002-I!!PDF-E&type=items

Comment 9 Pedro Villavicencio 2008-02-25 08:18:19 UTC
Same problem with the following pdf: 

http://launchpadlibrarian.net/12175282/emboj00075-0354.pdf
Comment 10 Martin Wolf 2008-08-20 12:10:46 UTC
Seems to be related to 16878
Comment 11 Phil Armstrong 2008-12-31 07:46:47 UTC
This appears to be fixed in evince 2.22.2. These pdfs still take some time to render, but they no longer chew through huge amounts of memory to do so.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.