GNOME Bugzilla – Bug 645796
[performance] high CPU usage when viewing a detailed PDF (map)
Last modified: 2015-10-16 21:00:26 UTC
I am running evince 2.32.0-0ubuntu12 on a development version of Ubuntu 11.04. I have saved a local copy of the San Francisco Bike Map which is available at the following link: http://www.sfbike.org/download/SF_Bike_Map_2010.pdf Whenever I try to open this file, my CPU is under high load and evince becomes unresponsive. The file does eventually open but it is a very poor user experience. My computer is a desktop PC with a 2.66GHz Pentium 4 CPU and 768MB of RAM.
It has improved, but still is evince 3.7 feels unresponsive for some seconds. Acroread Reader 9 is faster on this.
This issue might be related to what happens in both okular and evince with https://launchpadlibrarian.net/193465596/HotMobile12-final72.pdf (as discussed in https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1404393)
Bug https://bugzilla.gnome.org/show_bug.cgi?id=735496 could also be related to this one.
Very likely it is an issue in poppler (the library used by Evince and Okular to render PDF). In such case, this bug should be moved to poppler's bugzilla (freedesktop). But before, it should be tested against poppler master with either poppler-glib-demo or pdftocairo.
When evince is used to open this file from the command prompt, 10 copies of the following message are printed in the terminal: *** BUG *** In pixman_region32_init_rect: Invalid rectangle passed Set a breakpoint on '_pixman_log_error' to debug
With newer poppler/evince I do not see the issue. It takes a couple of seconds to render, but that is.