Bug 93567

Summary: Huge memory consumption when viewing large images
Product: [Applications] gwenview Reporter: Frank Osterfeld <osterfeld>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: benni
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Frank Osterfeld 2004-11-19 11:51:52 UTC
Qt 3.3.3 
KDE CVS, 3.3 branch 
Gwenview: current CVS (2004/11/19) 
 
When I view a large file like (2MB compressed, approx. 8000x8000 pixels) 
 
http://static.capsi.com/blog/kde.dot.ps.jpg 
 
gwenview eats a huge amount of RAM: 
 
... 519396 390796 ... gwenview 
 
where GIMP needs much less:  
 
... 91160 86680 ... gimp-2.0 kde.dot.ps.jpg 
 
In version 1.0.1 it seemed even worse - loading the file froze my system (512 
MB RAM) nearly completely until I was able to killall gwenview.
Comment 1 Lubos Lunak 2005-06-06 17:39:19 UTC
The picture is no longer available. When testing here with another 8000x8000, Gwenview needs about 256M memory, which is normal (8000x8000x32bpp is 256M). It seems comparable to what GIMP needs. Computer thrashed to death due to swapping is indeed not nice, but that's a kernel problem.
Reclassified as a wish.

Comment 2 Benni Hill 2013-02-01 00:01:40 UTC
Closing, because it's old and very likely fixed.