This is really a GIMP bug because of too big memory usage when working
with 3.9 MiB jpeg file.

I've tested that jpeg file with other image viewing/edidint applications and 
didn't noticed such big memory usage, like with GIMP.
Computer has 3Gb of RAM and no swap. I simply open image with 3 different 
applications and look how many they use memory with htop. Then I try to zoom in 
several times, then zoom out and finally - rotate image to the right (90 
angle). Results of my tests:

Eog 2.30.0-0ubuntu1 : 
400Mb (13,5% of total memory) after opening, zoom doesn't increase memory 
usage, ~800Mb during rotate; 

Shotwell viewer 0.7.2-0ubuntu2 : 
~40Mb (only ~1%  of total memory) after opening, 1Gb (33%) after zoom, rotating 
doesn't increase memory usage (if I rotate before zoom, then memory usage 
remains ~40Mb !!!); 

GIMP 2.6.8-2ubuntu1.1 :
1,3 Gb (42% of total memory) after opening, zoom doesn't increase memory usage, 
increased memory usage during rotate and kernel killed GIMP...

So, vietnam isn't right - GIMP uses much more memory for the same image
comparing to other programs. Maybe we need to test with latest GIMP
version 2.6.11 and report a bug to upstream if memory usage is too big?

vietnam wrote on 2010-01-27:
> Gimp, like other programs, load the file like a BMP and need to load every 
> single pixels. Gimp need to load 14000 X 8000 pixels... that about an image 
> with a size of 924.4 MB.

** Also affects: baltix
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/408317

Title:
  Gimp freezes and makes whole system lagging when opening large file

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to