[Digikam-devel] Re: memory leak in trunk...

Michael G. Hansen mike at mghansen.de
Thu Dec 2 20:14:18 GMT 2010


On 12/02/2010 10:40 AM, Marcel Wiesweg wrote:
>> A different question:
>>
>> What on earth are we allocating on startup?
>> A fresh digiKam start shows 240MB RAM that are owned by digiKam.
>> This is insane :-)
>> There isn't even thumbnails in the iconview, I just display the welcome
>> screen.
>
> Massif can tell us more about this:
>
> http://img252.imageshack.us/my.php?image=plasmadesktopjn1911.png
> http://img252.imageshack.us/my.php?image=plasmadesktopdw1911.png
>
> - there are about eight single entries resulting from marble, summing to 60
> MB. This is quite a lot obviously. It may be related to the fact that we use
> multiple marble instances (this is GSoc branch), I dont know if Marble is
> ready to share internal memory between instances

Wow, that's a lot! I plan to modify libkmap to only create Marble 
instances once a view is activated. Maybe we should talk to the Marble 
devs about which components of Marble can be reused in other instances.

Michael



More information about the Digikam-devel mailing list