Confirmed users
1,345
edits
Nnethercote (talk | contribs) |
Nnethercote (talk | contribs) |
||
| Line 33: | Line 33: | ||
==== Trigger ==== | ==== Trigger ==== | ||
Visit about:memory and click the DMD button (depending on how old your build is, it might be labelled "Save" or "Analyze reports" or "DMD"). The button won't be present in non-DMD builds, and will be grayed out in DMD builds if DMD isn't enabled at start-up. | |||
This triggers all the memory reporters and then DMD analyzes the reports, printing this commentary: | |||
DMD[11420] opened /tmp/dmd-1409885041-22021.txt.gz for writing | |||
DMD[11420] Dump 1 { | DMD[11420] Dump 1 { | ||
DMD[11420] gathering stack trace records... | DMD[11420] gathering stack trace records... | ||
| Line 51: | Line 47: | ||
DMD[11420] } | DMD[11420] } | ||
If you see the "opened" line, it tells you where the file was saved. If you're on an older build and don't see that, it'll be saved in a file in your current working directory with a <code>.dmd</code> suffix. | |||
==== Post-process ==== | ==== Post-process ==== | ||