I did some extensive stress-testing on an M10, an MX4 and a E4.5, all
running the latest rc-proposed image. I launched a number of
applications (some native, some webapps) in the background, and then
opened a number of tabs in the browser app (with the mechanism to unload
tabs temporarily disabled).

I observed that even when under quite some pressure (with more than 10
tabs open and active, including memory-hungry apps like google plus,
hangouts, google docs, google maps, twitter, facebook), the free memory
(MemFree+Buffers+Cached) rarely seems to go below 200MB (more often on
the E4.5 than on the other two devices, which is expected because the
E4.5 has 1GB RAM whereas the other two have 2GB RAM).

I had to push the limits quite a bit to get the system OOM killer to
kick in, and it never killed the browser app, always a background app.

Those numbers and observations seem to indicate that an arbitrary
threshold of 200MB should work reasonably well, instead of a percentage
of the available memory. I’ll experiment further with that value.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1576639

Title:
  memory threshold is too high

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-device-images/+bug/1576639/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to