GNOME Bugzilla – Bug 160067
(gpdf) swap storm and OOM
Last modified: 2006-01-29 21:11:14 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.
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.
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.
Gpdf is no longer maintained, closing WONTFIX. Please use Evince for your pdf viewing needs. http://www.gnome.org/projects/evince/
evince seems to be fine with this.