[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#2904: Memory leaks in khtmlw
From:       Oliver Thulke <oth () ratio ! de>
Date:       2000-03-28 10:19:39
[Download RAW message or body]

Package: kdelibs
Version: 1.1.2
Severity: grave

The khtmlw in kdelibs 1.1.2 is slowly eating up system memory when
displaying HTML pages with tables.
I was able to reproduce this on several machines running SuSE6.1,
SuSE6.2, SuSE6.3 (partly running older KDE than 1.1.2) and another
machine running a freshly built KDE1.1.2.
A HTML that shows this behaviour is the following:

<html><body>
<table>
<tr><td>1</td><td>2</td></tr>
<!-- about 14000 further rows with two cells -->
<tr><td>1</td><td>2</td></tr>
</table>
</body></html>

This will make khtmlw eat up approximately 800kB on each reload.
To me it looks like the cause are several mallocs (htmltable.cpp,
function HTMLTable::calcColInfo(), line 1090) which are never freed.

This affects all programs using khtmlw including the kfm.

-- 

Oliver Thulke (mailto:oth@ratio.de)
Software-Development

RATIO Entwicklungen GmbH
Admiralitaetstrasse 59
D-20459 Hamburg

Phone: +49-40-369007-40
Fax:   +49-40-369007-75

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic