[Digikam-users] svn version memory usage

Marcel Wiesweg marcel.wiesweg at gmx.de
Tue Oct 17 18:18:12 BST 2006


> For testing, I changed utilities/imageeditor/editorwindow.cpp:
>
> - EditorWindow::EditorWindow(const char *name)
> -           : KMainWindow(0, name, WType_TopLevel)
> + EditorWindow::EditorWindow(const char *name)
> +           : KMainWindow(0, name, WType_TopLevel | WDestructiveClose)
>
> which showed substantial reduction in memory when editor window is
> closed without any perceivable slowness in reopening the editor window
> (I opened/closed the editor window a number of times on different
> pictures). Is the hiding of the editorwindow instead of deleting it
> _intentional_ ?

Yes, the hiding is intentional, to speed things up.
You probably mean the memory used by X.org? That slipped my attention so far. 
I need to investigate this.

Marcel

>
> Thanks,
> - dBera



More information about the Digikam-users mailing list