This is the meta bug for tracking memory optimization issues to fit 256MB RAM on Dophin (SC7715).
From Shawn Ku: After checking the data among different versions. (https://docs.google.com/a/mozilla.com/spreadsheets/d/1s8suJNJ09lPN4N15WS5yS_RET-2ryuX9eOdDvfiImEg/edit#gid=0) Totally 170MB was consumed after boot-up (excluding modem part) which is very risky for us to run on 256MB RAM device. There are three major difference between 1.4 and 2.0. 1. Non B2G process - these include kernel, native processes etc.... (+23MB). Upgrading from JB to KK. 2. Built-in Keyboard (+12MB), Move from in-Process to OOP. 3. Fine my device (+9MB).
From Tim Chien: Input mgmt will push the keyboard app to in-proc when the total memory is less than 512M. This is a behavior since 2.0 so it shouldn't be a concern.
(In reply to Kevin Hu [:khu] from comment #1) > 3. Fine my device (+9MB). Hi, Erin, can we get your comments about this? Is it something in your plate? Or, your team only covers server side? Thanks.
Are you seeing bug 1062558 with FMD? Or are you actually using it?
Hi Kyle, From Bug 1062558, agree that FMD shouldn't consume mem when it's not activated, this is one problem needs to be resolved. furthermore, would like to know if the 9MB mem usage for FMD is reasonable, wondering whom from engineering side can comment on this? thanks! BR, Marvin
We would need to compare the usage of FMD to the usage of other apps to determine that. I would say that you should direct that at the b2g performance team, but they don't exist anymore.
(In reply to Marvin Khoo [:Marvin_Khoo] from comment #5) > Hi Kyle, > From Bug 1062558, agree that FMD shouldn't consume mem when it's not > activated, this is one problem needs to be resolved. > > furthermore, would like to know if the 9MB mem usage for FMD is reasonable, > wondering whom from engineering side can comment on this? > thanks! > > > BR, > Marvin I think it's the topic worth to dig out. Thinker, does your team have bandwidth to look into(profile) the details? I'll create another bug to track this issue. Thanks. I'll create another bugs for tracking later.
Thanks Kyle, Steven and Thinker following up this.