Changes

Jump to: navigation, search

Performance:Leak Tools

2 bytes removed, 05:22, 9 October 2014
Strategy for finding leaks
For example, start with bringing up the mail window and closing the window without doing anything. Then go on to selecting a folder, then selecting a message, and then other activities one does while reading mail.
Once you've done this, and it doesn't leak much, then try the action under trace-malloc or Purify LSAN or Valgrind to find the leaks of smaller graphs of objects. (When I refer to the size of a graph of objects, I'm referring to the number of objects, not the size in bytes. Leaking many copies of a string could be a very large leak, but the object graphs are small and easy to identify using GC-based leak detection.)
== What leak tools do we have? ==
Confirm
1,345
edits

Navigation menu