W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2005

tidyParseString problem

From: Ford Columbo <gecolumbo@acasa.ro>
Date: Mon, 7 Nov 2005 13:20:14 +0200
To: html-tidy@w3.org
Message-ID: <1131362414190-7263465298256481420.gecolumbo@acasa.ro>
Is there any possibility for tidylib (c++ api) to contain memory leaks due
to repeted calls to tidyParseString ?. Any suggestion would be helpfull. I
am developing an html indexer, and the parsing is done using html-tidy. The
problem is some awfull memory leaks. As far as I could dig (valgrind), it
seems that due to tidyParseString, huge amounts of memory are "still
reachable" but never returned to the system (no or very little definitely
lost memory). It causes my app to slow down from 0.1s/rec to 10s/rec or
worse. Please advise, if you can, how to avoid this.
Posteaza gratuit anunturi de orice dimensiune si ai audienta de sute de mii, lunar.
Received on Monday, 7 November 2005 13:53:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:55 UTC