commit | 786d5453bfd73f9ee740f6ead12b0514f7e6023c | [log] [tgz] |
---|---|---|
author | Nandana Dutt <nandana@google.com> | Thu Jul 05 10:06:18 2018 +0100 |
committer | Nandana Dutt <nandana@google.com> | Mon Jul 09 12:32:34 2018 +0000 |
tree | baba8175183e7df9fd8cb0b7b0d87d11131dcd6a | |
parent | ce77407144346c6fad679a4297910eea07d0d601 [diff] |
Fix the lost RAM calculation The formula used when reporting memory usage when device goes low on memory should exclude SwapPss, which was incorrectly being included as part of totalPss. BUG: 109762356 Test: Manually tested on a gobo device by making it go low on memory. Verified that the Lost RAM in adb logcat was negative before, and is positive with the change, and close to Lost RAM from "dumpsys meminfo". Change-Id: Ic54181b55fa03d3faebda4c0516c95c18ee39e41