Firefox OS/Performance/Debugging OOMs: Difference between revisions

Line 77: Line 77:
If you don't have access to a device with more RAM, you can try to run get_about_memory.py just before the app crashes.  Again, you can run b2g-info in a loop to figure out when to run get_about_memory.py.
If you don't have access to a device with more RAM, you can try to run get_about_memory.py just before the app crashes.  Again, you can run b2g-info in a loop to figure out when to run get_about_memory.py.


Running a memory report freezes all of the processes on the phone for a few moments, so it's often difficult to grab a memory report soon before a process OOMs itself.
Running a memory report freezes all of the processes on the phone for a few moments, so it's often not difficult to grab a memory report soon before a process OOMs itself.


==== Step 2, option 3: Use a smaller testcase ====
==== Step 2, option 3: Use a smaller testcase ====
187

edits