Closed Bug 1129268 Opened 9 years ago Closed 6 years ago

[TCL mobile][HOMO][QC_4 Group test] Memory saturated by browsing

Categories

(Firefox OS Graveyard :: Gaia, defect, P1)

Other
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX
2.0 S6 (18july)

People

(Reporter: chaofei.wu.hz, Unassigned)

Details

RAM memory is consumed very quickly after few URLs browsing.
Memory is saturated, see the attachement image.
how can we increase ram free size?

----------------------------------------------------
power on:------>>>

root@jrdhz72_w_ff:/ # cat /proc/meminfo
cat /proc/meminfo
MemTotal:         214748 kB
MemFree:            1964 kB
Buffers:              32 kB
Cached:            44612 kB
SwapCached:         5412 kB
Active:            58880 kB
Inactive:          56028 kB
-----------------------------------------------
after open 2 URLs --------->>>

root@jrdhz72_w_ff:/ # cat /proc/meminfo
cat /proc/meminfo
MemTotal:         214748 kB
MemFree:            2156 kB
Buffers:               4 kB
Cached:            28784 kB
SwapCached:         7688 kB
Active:            56432 kB
Inactive:          46516 kB

-------------
free RAM , less than 30MBytes,
Hi ChaoFei,
Is this problem found on Woodduck?
Flags: needinfo?(chaofei.wu.hz)
Hi ChaoFei,
Can you provide detail information about which website you opened? How many tabs did you opened?
customer Orange answer:
   经确认,手机复现过程中消耗的是RAM而不是ROM、,
手机打开www.baidu.com,选择新闻,再随机选择网页里面的几个链接在新窗口中打开(开了5个窗口),RAM就只剩下30M了
-------------------------
Dear Josh,
  I tested, Browse www.sohu.com and open new tab to browse www.163.com, then RAM will decrease 20M to 30MBytes.
Flags: needinfo?(chaofei.wu.hz)
(In reply to Josh Cheng [:josh] from comment #1)
> Hi ChaoFei,
> Is this problem found on Woodduck?

yes,
MTK answer:
Dear Customer: 您使用的應該是eng load. user load應該可以節省一些. 貴司使用的已經是經過優化過的平台.單純從cache 與free memory其實並沒有考慮到壓縮內存的能力. 因為單純從您的描述無法看出目前內存有什麼問題.請問實際使用上有什麼問題嗎? 另外,單就分析角度上. 從您的log可以看到b2g 幾個processes的內存使用量超過100MB. 真有需求建議先從大內存的processes看看是否有可節省的部分.否則就是要移除些非必要的feature. PID Vss Rss Pss Uss Swap PSwap cmdline 162 218308K 64016K 47393K 42568K 12068K 12068K /system/b2g/b2g 832 112744K 39424K 23488K 19340K 2116K 2116K /system/b2g/plugin-container 737 93348K 23076K 11607K 8036K 15612K 13809K /system/b2g/plugin-container 834 78308K 26564K 11579K 8000K 3076K 3076K /system/b2g/plugin-container 855 69192K 16824K 8187K 5884K 2660K 899K /system/b2g/plugin-container 711 61964K 16976K 3734K 268K 4980K 3137K /system/b2g/plugin-container 

root@jrdhz72_w_ff:/ # procrank
procrank
  PID       Vss      Rss      Pss      Uss     Swap    PSwap  cmdline
  162   218308K   64016K   47393K   42568K   12068K   12068K  /system/b2g/b2g
  832   112744K   39424K   23488K   19340K    2116K    2116K 
/system/b2g/plugin-container
  737    93348K   23076K   11607K    8036K   15612K   13809K 
/system/b2g/plugin-container
  834    78308K   26564K   11579K    8000K    3076K    3076K 
/system/b2g/plugin-container
  855    69192K   16824K    8187K    5884K    2660K     899K 
/system/b2g/plugin-container
  711    61964K   16976K    3734K     268K    4980K    3137K 
/system/b2g/plugin-container
  147    32936K    5572K    1583K     788K    2028K    2028K 
/system/bin/mediaserver
  955     1396K     808K     490K     480K       0K       0K  procrank
  609    30744K    1020K     363K     332K     372K     372K  /system/bin/rild
  151    37944K    1248K     339K     268K     520K     520K 
/system/bin/mtk_agpsd
  146    11572K    2892K     322K      16K     796K     796K 
/system/bin/drmserver
    1      936K     392K     264K     168K     328K     328K  /init
  250     4660K     280K     260K     260K       8K       8K  /sbin/adbd
  227    14048K    2280K     249K      32K     684K     684K 
/system/bin/atci_service
  479     7452K     864K     249K     220K     188K     188K 
/system/bin/mdlogger
  174     9772K    2324K     240K      12K     816K     816K  /system/bin/mtkbt
  132     5060K    1032K     233K     164K     320K     320K  /system/bin/vold
  949     1080K     536K     202K     128K       0K       0K  /system/bin/sh
  130     2500K     172K     168K     168K       4K       4K  /sbin/healthd
  142     9964K     892K     147K      92K     272K     272K  /system/bin/netd
  136     1528K     500K     145K     132K     132K     132K 
/system/bin/ccci_fsd
  480    15492K     492K     133K     124K     132K     132K 
/system/bin/gsm0710muxd
   96      760K     212K     114K      20K     248K     248K  /sbin/ueventd
  813     4732K     656K     109K      72K     136K      55K 
/system/bin/mobile_log_d
  156     6536K     532K     101K      88K     156K     156K 
/system/bin/mtklogservice
  144     3220K     632K      82K      52K     188K     188K 
/system/bin/netdiag
  209     1080K     400K      75K       4K     112K     112K  /system/bin/sh
  816     5472K     368K      74K      52K    1732K    1643K 
/system/bin/mobile_log_d
  817     3500K     356K      66K      44K     120K      31K 
/system/bin/mobile_log_d
  150     4748K     812K      65K      24K     328K     328K 
/system/bin/keystore
  153     1088K     332K      50K      44K      60K      60K 
/system/bin/batterywarning
  189     1084K     316K      50K      44K      56K      56K
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.