|
|
Line 114: |
Line 114: |
|
| |
|
| Reading memory reports takes some practice, so feel free to ask for help. The experts on this subject hang out in #memshrink on IRC. | | Reading memory reports takes some practice, so feel free to ask for help. The experts on this subject hang out in #memshrink on IRC. |
|
| |
| === Step 4: Rebuild with DMD, if necessary ===
| |
|
| |
| One common line item to stick out in memory reports captured before apps crash is "heap-unclassified". heap-unclassified counts memory allocated by the process that isn't covered by any other memory reporter. If you have high heap-unclassified, the memory report can't tell you anything else about what that memory belongs to.
| |
|
| |
| Our tool for digging into heap-unclassified is called DMD. DMD works on B2G, but you must build B2G yourself in order for it to work (because DMD requires local symbols that are only kept on the build machine).
| |
|
| |
| See https://wiki.mozilla.org/Performance/MemShrink/DMD for information on running DMD and interpreting its output.
| |