Closed Bug 783230 Opened 12 years ago Closed 12 years ago

dump about:memory-like info on demand

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 18

People

(Reporter: gbrown, Assigned: kats)

References

Details

Attachments

(1 file)

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.
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
https://hg.mozilla.org/mozilla-central/rev/e716df0361db
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: