Closed
Bug 956833
Opened 12 years ago
Closed 12 years ago
Clear manifests cache on memory pressure
Categories
(Core Graveyard :: DOM: Apps, defect)
Core Graveyard
DOM: Apps
Tracking
(blocking-b2g:1.3+, firefox27 wontfix, firefox28 fixed, firefox29 fixed, b2g-v1.3 fixed, b2g-v1.3T fixed)
People
(Reporter: fabrice, Assigned: fabrice)
Details
Attachments
(1 file)
|
3.05 KB,
patch
|
gal
:
review+
|
Details | Diff | Splinter Review |
We don't clear the manifests cache (in parent and the wrapped ones in child process) when the memory-pressure observer is fired. Let's do it.
| Assignee | ||
Comment 1•12 years ago
|
||
Memory usage before this patch:
| megabytes |
NAME PID PPID CPU(s) NICE USS PSS RSS VSIZE OOM_ADJ USER
b2g 24862 151 12.5 0 37.5 40.3 47.2 147.8 0 root
(Nuwa) 24901 24862 1.0 1 4.0 6.7 13.2 50.0 2 root
Usage 24933 24901 1.6 18 6.5 10.8 20.7 61.1 10 app_24933
Homescreen 24949 24901 2.6 18 9.7 14.1 24.0 64.1 8 app_24949
System memory info:
Total 103.1 MB
Used - cache 80.0 MB
B2G procs (PSS) 71.9 MB
Non-B2G procs 8.1 MB
Free + cache 23.1 MB
Free 9.0 MB
Cache 14.1 MB
Low-memory killer parameters:
notify_trigger 14336 KB
oom_adj min_free
0 4096 KB
1 5120 KB
2 6144 KB
6 7168 KB
8 8192 KB
10 20480 KB
And after this patch, once memory-pressure has kicked in.
| megabytes |
NAME PID PPID CPU(s) NICE USS PSS RSS VSIZE OOM_ADJ USER
b2g 24630 151 19.1 0 33.5 35.5 39.7 143.5 0 root
(Nuwa) 24672 24630 1.2 1 0.9 2.4 6.2 50.0 2 root
Usage 24718 24672 1.8 18 6.5 8.9 14.2 61.1 10 app_24718
Homescreen 24734 24672 4.3 18 13.5 16.5 22.6 70.9 8 app_24734
System memory info:
Total 103.1 MB
Used - cache 74.2 MB
B2G procs (PSS) 63.3 MB
Non-B2G procs 10.9 MB
Free + cache 28.9 MB
Free 2.4 MB
Cache 26.5 MB
Low-memory killer parameters:
notify_trigger 14336 KB
oom_adj min_free
0 4096 KB
1 5120 KB
2 6144 KB
6 7168 KB
8 8192 KB
10 20480 KB
big wins!
Attachment #8356213 -
Flags: review?(ferjmoreno)
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [tarako]
Comment 2•12 years ago
|
||
Comment on attachment 8356213 [details] [diff] [review]
mem-pressure-webapps.patch
Ship it!
Attachment #8356213 -
Flags: review?(ferjmoreno) → review+
Comment 3•12 years ago
|
||
We should uplift this to 1.3
Comment 4•12 years ago
|
||
Credit goes to njn for finding this.
| Assignee | ||
Comment 5•12 years ago
|
||
blocking-b2g: --- → 1.3+
Comment 6•12 years ago
|
||
> Credit goes to njn for finding this.
It does? Cool! :)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Comment 8•12 years ago
|
||
status-b2g-v1.3:
--- → fixed
status-firefox27:
--- → wontfix
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
| Assignee | ||
Updated•12 years ago
|
status-b2g-v1.3T:
--- → fixed
Comment 9•12 years ago
|
||
status-b2g-v1.3T indicated it's in tarako, remove [tarako]
Whiteboard: [tarako]
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•