RESOURCE MANAGEMENT WITH DYNAMIC RESOURCE POLICIES
First Claim
1. A computer-implemented method for resource management of a data processing system, the method comprising:
- determining whether available memory on the data processing system is low;
terminating one or more application programs when available memory on the data processing system is low, wherein each of the one or more application programs consumes more memory space than a memory consumption limit for the application program; and
sending memory pressure notifications to all application programs when available memory on the data processing system is low after the terminating of the one or more application programs.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus of a device for resource management by using a hierarchy of resource management techniques with dynamic resource policies is described. The device terminates several misbehaving application programs when available memory on the device is running low. Each of those misbehaving application programs consumes more memory space than a memory consumption limit assigned to the application program. If available memory on the device is still low after terminating those misbehaving application programs, the device further sends memory pressure notifications to all application programs. If available memory on the device is still running low after sending the memory pressure notifications, the device further terminates background, idle, and suspended application programs. The device further terminates foreground application programs when available memory on the device is still low after terminating the background, idle, and suspended application programs.
-
Citations
25 Claims
-
1. A computer-implemented method for resource management of a data processing system, the method comprising:
-
determining whether available memory on the data processing system is low; terminating one or more application programs when available memory on the data processing system is low, wherein each of the one or more application programs consumes more memory space than a memory consumption limit for the application program; and sending memory pressure notifications to all application programs when available memory on the data processing system is low after the terminating of the one or more application programs. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory machine-readable medium having executable instructions to cause one or more processing units to perform a method of resource management of a data processing system, the method comprising:
-
determining whether available memory on the data processing system is low; terminating one or more application programs when available memory on the data processing system is low, wherein each of the one or more application programs consumes more memory space than a memory consumption limit for the application program; and sending memory pressure notifications to all application programs when available memory on the data processing system is low after the terminating of the one or more application programs. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A device to perform resource management, the device comprising:
-
a processor; a memory coupled to the processor though a bus; and a process executed from the memory by the processor causes the processor to determine whether available memory on the data processing system is low, terminate one or more application programs when available memory on the device is low, wherein each of the one or more application programs has a memory violation by consuming more memory space than a memory consumption limit for the application program and previously received notice regarding the memory violation, and sends memory pressure notifications to all application programs when available memory on the device is low after the terminating of the one or more application programs. - View Dependent Claims (18, 19, 20)
-
-
21. A non-transitory machine-readable medium having executable instructions to cause one or more processing units to perform a method of resource management of a data processing system, the method comprising:
-
determining whether available memory on the data processing system is low; applying a hierarchy of memory management processes to reduce memory pressure when available memory on the data processing system is low; and terminating a foreground application that uses more memory than any other foreground application when available memory on the data processing system is low after the applying of the hierarchy of memory management processes. - View Dependent Claims (22, 23)
-
-
24. A computer-implemented method for resource management of a data processing system, the method comprising:
-
receiving a request to transition an application program from a first state to a second state with a reduced memory consumption limit; determining whether the application program consumes more than a pre-determined percentage of the reduced memory consumption limit of the second state; sending a memory pressure notification to the application program if the application program consumes more than the pre-determined percentage of the reduced memory consumption limit of the second state; waiting a time period; and changing the memory consumption limit for the application program to the reduced memory consumption limit of the second state after the waiting of the time period. - View Dependent Claims (25)
-
Specification