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 160067 - (gpdf) swap storm and OOM
(gpdf) swap storm and OOM
Status: RESOLVED WONTFIX
Product: gpdf
Classification: Deprecated
Component: general
2.8.x
Other Linux
: Normal critical
: ---
Assigned To: Martin Kretzschmar
Martin Kretzschmar
Depends on:
Blocks:
 
 
Reported: 2004-12-01 09:48 UTC by Marco Pesenti Gritti
Modified: 2006-01-29 21:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marco Pesenti Gritti 2004-12-01 09:48:56 UTC
gpdf rapidly spikes memory usage to almost 1GB (virt) when you PageDown from
page 254 to 255 of this large PDF.  On my 1GB RAM laptop, this causes a swap
storm and sometimes OOM.  If the system survives the swap storm, it settles to
about 505MB (virt) when viewing page 255. PageDown again into page 256 reduced
memory usage to 60MB (virt).

http://www.free-culture.cc/freeculture.pdf

It's reproducable also on cvs head.
Comment 1 Martin Kretzschmar 2004-12-19 18:42:03 UTC
The page contains a 9258 x 12259 bitmap. See my comment on bug 159268 on gpdf's
problem with these.

I should probably mark this as a duplicate of the other bug, but I'll wait for
the other reporter to confirm that his file has such a large bitmap, too.
Comment 2 Per Bjornsson 2005-02-09 07:22:29 UTC
Indeed I'm pretty sure that this is a dup of my bug 159268 - as I noted there
the PDFs that caused this contained huge bitmaps. It looks like Evince isn't
susceptible to this so perhaps it's just time to move on? 

By the way, I'll close my bug as a duplicate even though it's older since Marco
had a test case readily available while I only had ones that are not publically
accessible.
Comment 3 Olav Vitters 2006-01-29 01:10:52 UTC
Gpdf is no longer maintained, closing WONTFIX. Please use Evince for your pdf
viewing needs.

http://www.gnome.org/projects/evince/
Comment 4 Zack Weinberg 2006-01-29 21:11:14 UTC
evince seems to be fine with this.