GNOME Bugzilla – Bug 602390
Editing photos memory leak
Last modified: 2009-11-20 20:16:41 UTC
Created attachment 148107 [details] The memory usage as i repeatedly apply the "Straighten" operation from the edit menu Hi there. This is my first Bugzilla bug report, so please excuse me if i do not initially do so correctly. This bug has been reproduced under Ubuntu 9.04 with f-spot 0.5.0.3 and Ubuntu 9.10 with f-spot 0.6.1.4. The bug basically consists of an apparent memory leak which causes the application's memory allocation to increase each time a photo is edited (and it does not decrease again at any later time, except whent he application is closed. To reproduce the bug: 1. Import or open a large set of photos (i have 400+ in the albums i am editing). 2. Go through the photos, applying one edit operation from the edit menu to each photo. 3. After 30 or so photos, check memory usage. A significant increase should be observed. While writing this report i have also identified another (more specific) way to reproduce the bug: 1. Import or open a set of photos. 2. Edit one photo. 3. Apply the "Straighten" operation from the edit menu multiple times (8-15) on the same image; a noticeable increase in memory usage is observed. I have also filed a bug report at the Ubuntu Launchpad, https://bugs.launchpad.net/ubuntu/+source/f-spot/+bug/378954
Please don't set the alias field, if everyone goes nicknaming his pet peeves, this'll grow out of control. Having a good description is what matters.
Oh ok, thanks. I was supposed to add keywords, not an alias.
commit e5f5b1103d733257efdf746e8d50e6e4c8957876 Author: Stephane Delcroix <stephane@delcroix.org> Date: Thu Nov 19 21:22:17 2009 +0100 Avoid leaking in Strighten Editor Dispose the IDisposables. fixes bgo #602390
I have done some more investigation and found that the bug also occurs for the "Soft Focus" edit operation. I could not find any noticeable memory leaks for the other edit operations.
soft focus fixed too
Great, thanks.