Firefox OS/Performance/Debugging OOMs: Difference between revisions

Line 51: Line 51:
This step is a bit tricky, because once an app crashes, there's no way to collect a memory report from that process.  There's also no way to trigger a memory report when the kernel tries to kill a process -- by then, it's too late.
This step is a bit tricky, because once an app crashes, there's no way to collect a memory report from that process.  There's also no way to trigger a memory report when the kernel tries to kill a process -- by then, it's too late.


To pull a memory report from the phone, first update your tree so you get the latest version of this tool.  <tt>repo sync</tt> is not sufficient.
To pull a memory report from the phone, first update your tree so you get the latest version of this tool.  <tt>repo sync</tt> is not sufficient; you must git fetch && git merge or git pull.


   $ cd path/to/B2G/checkout
   $ cd path/to/B2G/checkout
187

edits