diff options
author | Peter Penz <ppenz@openismus.com> | 2010-09-27 09:45:49 +0200 |
---|---|---|
committer | Armin Berres <armin.berres@basyskom.de> | 2010-09-27 13:02:13 +0200 |
commit | 60d5f3201933fba03044b453e0223bf1844a59ab (patch) | |
tree | ba6db78b26cd4ee1d67ee37d7c148b2320d45221 /mthemedaemon | |
parent | 2ff22b3ec5af327424c2911d8815dae301c96efb (diff) |
Fixes: NB#167434 - MThemeDaemon uses excessive amount of heap
RevBy: Armin Berres
Details:
The purpose of MThemeResourceManager has been to improve the performance
of SVG-loading by reusing existing SVG renderer instances. But keeping
the SVG renderer instances for some time leads to a very dynamic
allocation of the memory and some fragmentation. So even after all SVG
renderer instances have been deleted, the dirty memory of the themedaemon
is very high. As the SVGs get cached anyhow in the meantime, this kind of
performance optimization can be dropped now in favor of the memory demand.
Diffstat (limited to 'mthemedaemon')
-rw-r--r-- | mthemedaemon/mthemedaemon.pro | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mthemedaemon/mthemedaemon.pro b/mthemedaemon/mthemedaemon.pro index 92abb823..98a78802 100644 --- a/mthemedaemon/mthemedaemon.pro +++ b/mthemedaemon/mthemedaemon.pro @@ -35,7 +35,6 @@ SOURCES += main.cpp \ ../src/corelib/theme/mimagedirectory.cpp \ ../src/corelib/theme/mthemedaemonclient.cpp \ ../src/corelib/theme/mthemedaemonprotocol.cpp \ - ../src/corelib/theme/mthemeresourcemanager.cpp \ ../src/corelib/core/mcpumonitor.cpp \ contains(DEFINES, HAVE_GCONF) { @@ -52,7 +51,6 @@ HEADERS += \ ../src/corelib/theme/mimagedirectory.h \ ../src/corelib/theme/mthemedaemonclient.h \ ../src/corelib/theme/mthemedaemonprotocol.h \ - ../src/corelib/theme/mthemeresourcemanager.h \ ../src/corelib/core/mgconfitem.h \ ../src/corelib/core/mcpumonitor.h \ keypresswaiter.h \ |