-
公开(公告)号:US20200174802A1
公开(公告)日:2020-06-04
申请号:US16778231
申请日:2020-01-31
Applicant: Apple Inc.
Inventor: Andrew D. Myrick , Dmitriy B. Solomonov , Lionel D. Desai
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.
-
公开(公告)号:US10552179B2
公开(公告)日:2020-02-04
申请号:US14292453
申请日:2014-05-30
Applicant: Apple Inc.
Inventor: Andrew D. Myrick , Dmitriy B. Solomonov , Lionel D. Desai
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.
-
公开(公告)号:US10528281B2
公开(公告)日:2020-01-07
申请号:US15662908
申请日:2017-07-28
Applicant: Apple Inc.
Inventor: Andrew D. Myrick , Lionel D. Desai , Joseph Sokol, Jr.
IPC: G06F3/06 , G06F12/08 , G06F12/1009 , G06F12/1027 , G06F12/109
Abstract: In one embodiment, when a secondary application on an electronic device is selected for deactivation, the memory associated with the application can be gathered, compacted and compressed into a memory freezer file. The memory freezer file can be stored in non-volatile memory with a reduced storage footprint compared to a memory stored in a conventional swap file. When the selected application is to be reactivated, the compressed memory in the memory freezer file can be quickly restored to process memory.
-
公开(公告)号:US20190095120A1
公开(公告)日:2019-03-28
申请号:US16203557
申请日:2018-11-28
Applicant: Apple Inc.
Inventor: Andrew D. Myrick , Lionel D. Desai , Joseph Sokol, JR.
IPC: G06F3/06 , G06F12/1027 , G06F12/109 , G06F12/1009
Abstract: In one embodiment, when a secondary application on an electronic device is selected for deactivation, the memory associated with the application can be gathered, compacted and compressed into a memory freezer file. The memory freezer file can be stored in non-volatile memory with a reduced storage footprint compared to a memory stored in a conventional swap file. When the selected application is to be reactivated, the compressed memory in the memory freezer file can be quickly restored to process memory.
-
公开(公告)号:US09983887B2
公开(公告)日:2018-05-29
申请号:US14973371
申请日:2015-12-17
Applicant: Apple Inc.
Inventor: Andrew D. Myrick , David M. Chan , Jonathan R. Reeves , Jeffrey D. Curless , Lionel D. Desai , James C. McIlree , Karen A. Crippes , Rasha Eqbal
CPC classification number: G06F9/4406 , G06F3/0608 , G06F3/0653 , G06F3/0673 , G06F9/4401 , G06F9/442 , G06F9/485 , G06F9/5016 , G06F11/1438
Abstract: Techniques for memory management of a data processing system are described herein. According to one embodiment, a memory usage monitor executed by a processor of a data processing system monitors memory usages of groups of programs running within a memory of the data processing system. In response to determining that a first memory usage of a first group of the programs exceeds a first predetermined threshold, a user level reboot is performed in which one or more applications running within a user space of an operating system of the data processing system are terminated and relaunched. In response to determining that a second memory usage of a second group of the programs exceeds a second predetermined threshold, a system level reboot is performed in which one or more system components running within a kernel space of the operating system are terminated and relaunched.
-
-
-
-