Sounds good to me. This is actually exactly what we do for the home screen. We 
have two different profiles, one with 'high' capabilities, and one with 'low'. 
Low capability devices are defined with anything less than 512mb of memory.

https://github.com/mozilla-b2g/gaia/blob/e13f1f667a49160c3fa3eab89e189910c46b04dc/apps/verticalhome/js/configurator.js#L172

Best,
Kevin

----- Original Message -----
From: "Lucas Adamski" <[email protected]>
To: "dev-b2g" <[email protected]>, "dev-gaia" 
<[email protected]>
Sent: Monday, July 28, 2014 3:26:58 PM
Subject: Low-memory code paths

Hi all,

In trying to address performance in memory constrained devices, a number of 
features have been implemented to conserve memory.  The problem is these are 
kicking in at various memory thresholds (256MB, 300MB, etc).  

This means we see inconsistent behavior when testing Flame in configs like 
273MB and 319MB, where memory usage actually regresses with the addition memory 
being provided.

Given the only RAM amounts we’re planning on shipping are in a geometric 
sequence, we should instead treat any memory amount < 512MB as a memory 
constrained devices (a further threshold may make sense < 256MB for Tarako).

Thoughts, concerns, discussion?
  Lucas.
_______________________________________________
dev-gaia mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-gaia
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to