Hi Rego, Thanks for the link to the wiki, there are some very interesting additional valgrind options that we could use.
The goal of this work would be to automate the process so that we could link it in to the buildbot at some point. I'll definitely update the wiki when the patch is accepted. Regards Brian -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Manuel Rego Casasnovas Sent: 21 May 2013 08:28 To: [email protected] Cc: Eduardo Lima Mitev Subject: Re: [webkit-dev] [WIP][GTK] Memory leak detection Hi Brian, 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[6]. > 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: https://trac.webkit.org/wiki/WebKitGTK/TrackingMemoryErrors > This work is being tracked under > https://bugs.webkit.org/show_bug.cgi?id=116317. > > 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" > LayoutTests/accessibility/accessibility-node-memory-management.html It looks nice, once this is ready we should update the wiki accordingly. My 2 cents, Rego _______________________________________________ webkit-dev mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-dev _______________________________________________ webkit-dev mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-dev

