Memory Leak when doing Reload()

Stefan Strobl nst at gersys.de
Wed Oct 7 21:38:35 CEST 2009


Hi

I'm having trouble with a memory leak when doing reloads. I've been
searching for over a week now but am not getting any closer. Could
anyone please help me with this issue? Maybe you can try if your system
behaves the same?

I applied attached patch to konq-e-0.2-20040524 to be able to trigger a
reload externally. I'm then using the attached program in main.cpp which
does the triggering (via QCopChannel).

A simple test page of 2,4kB size causes a leak of about 476kB after a
100 reloads.

I'm cross-compiling for ppc, using qte-3.3.4 and this is my configuration:
./configure --host=ppc-linux --enable-embedded --enable-qt-embedded
--without-arts --disable-pcre --disable-debug --disable-mt
--enable-fontsubs --enable-xmlui --enable-final --prefix=/home/konq-e
--exec-prefix=/home/konq-e
--with-extra-includes=$QTDIR/src/3rdparty/libjpeg
--with-extra-libs=$QTDIR/src/3rdparty/libjpeg --with-ipv6-lookup=n

Many thanks
Stefan.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: reload.patch
Type: text/x-patch
Size: 1123 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/konq-e/attachments/20091007/a5769781/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 342 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/konq-e/attachments/20091007/a5769781/attachment.cpp 


More information about the konq-e mailing list