[webkit-dev] [WIP][GTK] Memory leak detection
Manuel Rego Casasnovas
rego at igalia.com
Tue May 21 00:27:55 PDT 2013
On 05/20/2013 04:48 PM, Brian Holt wrote:
> Memory leak detection is a recurrent topic on this mailing list [1-5]
> but at present there exists only support for the Mac leaks tool. The
> de facto standard for memory checking and leak detection for Unix is
> Valgrind and the goal of this work is to launch the DRT under Valgrind
> to generate a xml file with details of leaks found, and then to parse
> this file and display this information.
My mate Edu Lima has recently added documentation about how to use
valgrind to find memory leaks in WebKitGTK+ using MiniBrowser:
> This work is being tracked under
> This is a work in progress, but as a first attempt leak checking can be
> done using the existing run-webkit-tests script as follows:
> $ Tools/Scripts/run-webkit-tests --gtk --leak --wrapper="valgrind"
It looks nice, once this is ready we should update the wiki accordingly.
My 2 cents,
More information about the webkit-dev