Source - Mozilla Corporation
Leak Gauge - Memory Leak Test Tool developed by David Baron
Step-1: Need to set the environment variable and works on all platforms "c:\NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5"
Step-2: To define a Leak Log, set "NSPR_LOG_FILE=c:\leak1.log"
Note: Works on Firefox 2 and Firefox 3+ Release Builds.
To analyze the result, upload the Leak Log file on,
http://mxr.mozilla.org/mozilla/source/tools/footprint/leak-gauge.html
When a Memory Leak was found the output of the Log analysis look like this:
No comments:
Post a Comment