GNOME Bugzilla – Bug 348260
Gthumb makes the system hang trying to open very high resolution images
Last modified: 2008-04-11 14:48:28 UTC
Steps to reproduce:
1. Open the image
Gthumb while trying to open a very high resolution image, allocates so much memory that the whole system hangs.
The image i tested is 20416 x 28064, bmp (60MB), jpeg (33MB) and png (3.3MB).
I got this problem when nautilus asked gthumb to thumbnail the png image.
Nautilus should normally thumbnail images itself... unless you have some kind of special circumstance?
Does this happen when opening it in gthumb too? I mean, actually opening it from within gthumb.
Otherwise, this seems like a duplicate of 134544...
Sorry, i was pretty sure that nautilus used gthumb to make thumbnails of images. I was wrong. I double checked and is the nautilus process to take all the memory.
However opening the images in gthumb (and of course opening the folder containing the images), creates the same effect. Gthumb eats up all the memory and makes the system hang.
When going into the print dialogure, and printing a number of large images (3-8 Mbyte), the memory behavior is terrible.
I have 1 gig physical + virtual, and printing about a dozen images in one shot blows out of memory...
Just as an experiment, I print-previewed 12 images (4 per page) of smaller
images (< 1 Meg/image) -- RSS went up to 200 Mbyte.
This is because a GdkPixbuf is used to store the image. GdkPixbuf uses 3 bytes per pixel to store images in memory. So a 20416 x 28064 would need 1.6 GB RAM which obviously, is way to much to handle. EOG suffers from the same problem for the same reason.
No, this is because the gtk+ scaling functions blow up at high scale factors. Dupe of bug 80925.
*** This bug has been marked as a duplicate of 80925 ***