--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
I don't think it'll work. For example, v8 (JS engine behind Chromium)
has a separate memory management (in most of the cases not even
calling into malloc and stuff and using underlying OS page management
API.)
So the number in the comment (40M) is a rough estimation, not a hard limit.
Making Chromium run in a limited amount of memory might be quite
challenging, even for modern desktop there are various scenarios which
lead to high memory consumption (for example, some extensions inject
huge objects into various frames, etc.). One way to achieve that wold
be to put strong limits on some memory usage (for example, v8 allows
that). But if your device is really limited and notable amount of
pages would die with OOM, you might need to add a lot of stuff which
would allow to survive when memory usage gets high---the endeavor the
complexity of which should not be underestimated.
yours,
anton.