When looking at mochitests that cause OOM (see bug 775227 and related), I often see Fennec receive the onLowMemory notification shortly before the tests fail and / or Fennec is killed. Dumping memory information to logcat during onLowMemory might provide useful information about the causes of these failures.
Note bug 784040 -- might want to do this at the same time / in the same memory observer.
Depends on: 788021
This adds a Java -> JS message to dump about:memory stats and exposes it via an intent. Some of this can be axed when bug 788021 lands but I want something in for now so that I can cron a script to run a benchmark.
Attachment #663046 - Flags: review?(snorp)
Attachment #663046 - Flags: review?(snorp) → review+
Renaming the bug in light of https://bugzilla.mozilla.org/show_bug.cgi?id=792155#c1 and what the patch actually does.
Summary: dump about:memory-like info onLowMemory → dump about:memory-like info on demand
Assignee: nobody → bugmail.mozilla
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
You need to log in before you can comment on or make changes to this bug.