In the past few weeks there have been several usability improvements to
|get_about_memory.py| [1][2], my favorite of which is that you no longer
need to specify |MOZ_IGNORE_NUWA_PROCESS=1| as an env var.
The old way:
MOZ_IGNORE_NUWA_PROCESS=1 tools/get_about_memory.py
The new way:
tools/get_about_memory.py
In order to benefit from this update you'll need to |git pull| from your
root B2G directory.
Additionally new flags were added to provide fine grained compression of
DMD and GC/CC logs. The default is for the logs to be compressed w/
gzip, but if you find yourself just decompressing the logs again (like
myself), you can specify the following flags:
--uncompressed-gc-cc-log Do not compress the individual GC/CC logs.
--uncompressed-dmd-logs Do not compress each individual DMD report
after processing.
If you generate tons of memory reports (perhaps during automation) you
might find the |--archive| flag useful. This will grab memory reports
and package them up in a tar.bz2 archive. This can also be useful for
uploading reports to bugzilla or storing for future reference.
-e
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1057565
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1042247
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g