commit | 736d26597ec73ac1b5279bef2b2c9d31797d5f5c | [log] [tgz] |
---|---|---|
author | Marco Nelissen <marcone@google.com> | Fri May 13 10:39:23 2016 -0700 |
committer | Dirk Vogt <dirk@fairphone.com> | Mon Jun 20 14:31:05 2016 +0200 |
tree | e94a33d3ef52ee97981bf1ac7d4989e61bc2dbf4 | |
parent | ad817462ce9a94388110ee18b197f1529c197ce6 [diff] |
FPII-2045: limit mediaserver memory Limit mediaserver using rlimit, to prevent it from bringing down the system via the low memory killer. Default max is 65% of total RAM, but can be customized via system property. Bug: 28471206 Bug: 28615448 Change-Id: Ic84137435d1ef0a6883e9789a4b4f399e4283f05 (cherry picked from commit 12e975bffb4915d2829114874793b1f936dde0b1)