Changes

Jump to: navigation, search

B2G/QA/Tips And Tricks

348 bytes added, 22:45, 23 July 2013
Debugging OOM
* If you have b2g/gecko code on your computer, you should have a tools folder. Inside the tools folder you should see :
** get_about_memory.py
*** in order to run this, you will want python installed and an engineering a build placed on a device attached to your machine*** run |adb root|
*** run |python get_about_memory.py|
*** on your computer open the URL listed in a browser. ie : about:memory?file=/Volumes/Projects/Projects/b2g18-v1train-leo/tools/about-memory-0/memory-reports
**** Sample run:
NH-MBP:tools nhirata$ python get_about_memory.py
Got 6/6 files.
Pulled files into about-memory-1.
 
To view this report, open Firefox on this machine and load the following URL:
about:memory?file=/Volumes/Projects/Projects/b2g18-v1train-leo/tools/about-memory-1/memory-reports
NH-MBP:tools nhirata$
Confirm
4,378
edits

Navigation menu