Bug 251845 - gwenview: huge memory consumption on rotating images
Summary: gwenview: huge memory consumption on rotating images
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-20 20:19 UTC by Mark
Modified: 2012-10-19 13:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2010-09-20 20:19:29 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

any higher number of modified images (20 in my case for 2GB ram) causes gwenview to claim a lot of memory (over 1gb). the problems are visible at about 15+ images and when i reach cca 20, i get some warning in the program, a red text in border appears on top saying something about too much images modified and that i'd rather save them. 

Reproducible: Always

Steps to Reproduce:
open a photoalbum (any collection of photos) and rotate a bunch of them. 
in my case, 2gb ram, cca 20 rotated images (3.4MB each) will cause gwenview to take over 1.5GB RAM and render system very slow(swap, apparently)

Actual Results:  
the program consumes huge amount of memory (ove 1gb for 20 modified 3.4mb pics). 
Even if it store all the modifications in ram, it should take 20x3.4mb, shouldn't it? 

Expected Results:  
reasonable mem consumption.

it's jpeg imgs, but i don't thing it's relevant.
Comment 1 Jekyll Wu 2011-12-08 11:15:27 UTC
I failed to reproduce the reported problem using KDE SC 4.8 beta2
Comment 2 Jekyll Wu 2012-01-07 02:29:45 UTC
Feel free to reopen if this still happens in recent version of KDE SC.