Help interpreting KColorScheme memory usage
John Tapsell
johnflux at gmail.com
Sun Jan 18 10:30:54 GMT 2009
Hi,
I'm looking at this particular output from valgrind for ksysguard.
Does the below seem okay? 6MB for storing QBrush information seems
kinda high? Or am I misinterpreting?
==6924== 6,448 bytes in 52 blocks are still reachable in loss record 149 of 163
==6924== at 0x402573E: operator new(unsigned) (vg_replace_malloc.c:224)
==6924== by 0x51890AD: QBrush::init(QColor const&, Qt::BrushStyle)
(in /usr/lib/libQtGui.so.4.4.3)
==6924== by 0x51894BA: QBrush::QBrush(QColor const&,
Qt::BrushStyle) (in /usr/lib/libQtGui.so.4.4.3)
==6924== by 0x47DCDC4:
KColorSchemePrivate::KColorSchemePrivate(KSharedPtr<KSharedConfig>
const&, QPalette::ColorGroup, char const*, SetDefaultColors)
(kcolorscheme.cpp:270)
==6924== by 0x47DD397:
KColorScheme::KColorScheme(QPalette::ColorGroup,
KColorScheme::ColorSet, KSharedPtr<KSharedConfig>)
(kcolorscheme.cpp:444)
==6924== by 0x48C8F20:
KGlobalSettings::createApplicationPalette(KSharedPtr<KSharedConfig>
const&) (kglobalsettings.cpp:899)
==6924== by 0x48C9613:
KGlobalSettings::Private::kdisplaySetPalette()
(kglobalsettings.cpp:937)
==6924== by 0x48C9AD1: KGlobalSettings::Private::kdisplaySetStyle()
(kglobalsettings.cpp:976)
==6924== by 0x48CBC7A: KGlobalSettings::KGlobalSettings()
(kglobalsettings.cpp:194)
==6924== by 0x48CBDEC: KGlobalSettings::self()::._324::operator->()
(kglobalsettings.cpp:187)
==6924== by 0x48CBEBF: KGlobalSettings::self()::._324::operator
KGlobalSettings*() (kglobalsettings.cpp:187)
==6924== by 0x48CBEDE: KGlobalSettings::self() (kglobalsettings.cpp:188)
More information about the kde-core-devel
mailing list