Patent ID: 9176780
Filing Date: 2015-11-03
Classification: G06F,Y02D

Abstract:
1. A method of managing memory in a mobile computing device having a host system and a guest system that share memory resources, each of the host system and the guest system configured to terminate processes upon experiencing memory pressure, comprising: receiving, by the guest system, a notification of a memory pressure event occurring in the guest system or the host system; in response to said receiving, issuing a request from the guest system to the host system for the host system to generate a target value for allocating memory; responsive to the request to generate the target value, generating, by the host system, the target value for allocating memory to the guest system, the target value being generated based on at least relative amounts of freeable memory resources in the host system and the guest system and a bias accounting for relative amounts of memory allocated to hidden applications in the host system and the guest system such that the host system or the guest system side with a larger amount of memory allocated to the hidden applications yields memory to the other side when the host system and the guest system are under the same memory pressure, the hidden applications being user-level applications not visible to the user; and allocating memory to a process running in the guest system in accordance with the target value.