-
公开(公告)号:US09720617B2
公开(公告)日:2017-08-01
申请号:US14728971
申请日:2015-06-02
Applicant: Apple Inc.
Inventor: Andrew D. Myrick , Lionel D. Desai , Joseph Sokol, Jr.
CPC classification number: G06F3/0643 , G06F3/0604 , G06F3/0632 , G06F3/0679 , G06F12/08 , G06F12/1009 , G06F12/1027 , G06F12/109 , G06F2212/1016 , G06F2212/401
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.
-
公开(公告)号:US20130332942A1
公开(公告)日:2013-12-12
申请号:US13650083
申请日:2012-10-11
Applicant: APPLE INC.
Inventor: Ananthakrishna Ramesh , Daniel E. Crosby , James Michael Magee , Lionel D. Desai , Matthew G. Watson , Neil G. Crane
CPC classification number: G06F9/542 , G06F9/5016 , G06F2209/504 , G06F2209/508 , G06F2209/543 , Y02D10/22
Abstract: Systems, methods, and computer program products for target memory pressure event notifications are disclosed. Processes running on a device can register to receive memory pressure event notifications from a memory management system, which are sent while memory pages are being reclaimed. Active processes running on a device processor can be assigned a priority that ranges from low to high. Responsive to a memory pressure event occurring on the device, the memory management system determines whether less than a threshold number of high priority processes are active on the device. If so, the memory management system sends a memory pressure event notification to the registered process with the lowest priority among the active processes.
Abstract translation: 公开了用于目标存储器压力事件通知的系统,方法和计算机程序产品。 在设备上运行的进程可以注册以从存储器管理系统接收内存压力事件通知,这些内存管理系统在内存页面被回收时发送。 在设备处理器上运行的活动进程可以分配从低到高的优先级。 响应于在设备上发生的存储器压力事件,存储器管理系统确定在设备上是否有小于阈值数量的高优先级进程是活动的。 如果是这样,则内存管理系统向活动进程中具有最低优先级的注册进程发送内存压力事件通知。
-
公开(公告)号:US20210311749A1
公开(公告)日:2021-10-07
申请号:US17201640
申请日:2021-03-15
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.
-
公开(公告)号:US10970085B2
公开(公告)日:2021-04-06
申请号: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.
-
公开(公告)号:US20160357572A1
公开(公告)日:2016-12-08
申请号: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.
Abstract translation: 本文描述了用于数据处理系统的存储器管理的技术。 根据一个实施例,由数据处理系统的处理器执行的存储器使用监视器监视在数据处理系统的存储器内运行的程序组的存储器使用。 响应于确定第一组程序的第一存储器使用超过第一预定阈值,执行用户级别重新启动,其中在数据处理系统的操作系统的用户空间内运行的一个或多个应用程序被终止 并重新启动。 响应于确定第二组程序的第二存储器使用超过第二预定阈值,执行系统级别重新启动,其中在操作系统的内核空间内运行的一个或多个系统组件被终止并重新启动。
-
公开(公告)号:US20150347181A1
公开(公告)日:2015-12-03
申请号: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.
Abstract translation: 描述了通过使用具有动态资源策略的资源管理技术的层次来进行资源管理的装置的方法和装置。 当设备上的可用内存运行不足时,设备会终止几个不正常的应用程序。 每个行为不当的应用程序都会消耗比分配给应用程序的内存消耗限制更多的内存空间。 如果在终止这些不正常行为的应用程序后,设备上的可用内存仍然很低,则设备还向所有应用程序发送内存压力通知。 如果设备上的可用内存在发送内存压力通知后仍然很低,则设备会进一步终止后台,空闲和挂起的应用程序。 当设备的可用存储器在终止背景,空闲和挂起的应用程序之后,设备还可以终止前台应用程序。
-
公开(公告)号:US09170859B2
公开(公告)日:2015-10-27
申请号:US13650083
申请日:2012-10-11
Applicant: Apple Inc.
Inventor: Ananthakrishna Ramesh , Daniel E. Crosby , James Michael Magee , Lionel D. Desai , Matthew G. Watson , Neil G. Crane
CPC classification number: G06F9/542 , G06F9/5016 , G06F2209/504 , G06F2209/508 , G06F2209/543 , Y02D10/22
Abstract: Systems, methods, and computer program products for target memory pressure event notifications are disclosed. Processes running on a device can register to receive memory pressure event notifications from a memory management system, which are sent while memory pages are being reclaimed. Active processes running on a device processor can be assigned a priority that ranges from low to high. Responsive to a memory pressure event occurring on the device, the memory management system determines whether less than a threshold number of high priority processes are active on the device. If so, the memory management system sends a memory pressure event notification to the registered process with the lowest priority among the active processes.
Abstract translation: 公开了用于目标存储器压力事件通知的系统,方法和计算机程序产品。 在设备上运行的进程可以注册以从存储器管理系统接收内存压力事件通知,这些内存管理系统在内存页面被回收时发送。 在设备处理器上运行的活动进程可以分配从低到高的优先级。 响应于在设备上发生的存储器压力事件,存储器管理系统确定在设备上是否有小于阈值数量的高优先级进程是活动的。 如果是这样,则内存管理系统向活动进程中具有最低优先级的注册进程发送内存压力事件通知。
-
公开(公告)号:US11720368B2
公开(公告)日:2023-08-08
申请号:US17194600
申请日:2021-03-08
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
IPC: G06F9/4401 , G06F3/06 , G06F9/50 , G06F11/14 , G06F9/48
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.
-
公开(公告)号:US20220222116A1
公开(公告)日:2022-07-14
申请号:US17699911
申请日:2022-03-21
Applicant: Apple Inc.
Inventor: Kushal Dalmia , Andrey V. Talnikov , Lionel D. Desai , Russell A. Blaine
Abstract: Memory management in a data processing system can learn one or more behaviors of software processes such as daemon software processes and application processes, and based on information learned about the behaviors, the memory management can adjust how it controls memory usage in the system. For example, a memory management system can learn how software processes react (e.g. how quickly they relaunch) to memory recovery methods, such as system initiated terminations of one or more software processes that are performed to reclaim memory to increase available volatile memory, and based on information about how they react, the memory recovery methods can operate differently depending upon how the software reacted previously.
-
公开(公告)号:US20210191734A1
公开(公告)日:2021-06-24
申请号:US17194600
申请日:2021-03-08
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
IPC: G06F9/4401 , G06F3/06 , G06F9/50 , G06F11/14 , G06F9/48
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.
-
-
-
-
-
-
-
-
-