Memory management methods and systems

US10127090B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10127090-B2
Application numberUS-201615362538-A
CountryUS
Kind codeB2
Filing dateNov 28, 2016
Priority dateJan 7, 2007
Publication dateNov 13, 2018
Grant dateNov 13, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method and an apparatus for determining a usage level of a memory device to notify a running application to perform memory reduction operations selected based on the memory usage level are described. An application calls APIs (Application Programming Interface) integrated with the application codes in the system to perform memory reduction operations. A memory usage level is determined according to a memory usage status received from the kernel of a system. A running application is associated with application priorities ranking multiple running applications statically or dynamically. Selecting memory reduction operations and notifying a running application are based on application priorities. Alternatively, a running application may determine a mode of operation to directly reduce memory usage in response to a notification for reducing memory usage without using API calls to other software.

First claim

Opening claim text (preview).

What is claimed is: 1. A machine readable non-transitory storage medium having instructions which, when executed by a machine, cause the machine to perform a method comprising: determining, by one or more processors of a memory management module, a usage level of a memory based on a memory usage determined by an operating system, the usage level based on an amount of memory already in use, wherein the usage level is one of a plurality of usage levels; selecting, by the one or more processors of the memory management module, one or more applications from a set of applications which are using the memory; notifying, by the one or more processors of the memory management module, the selected one or more applications of the usage level via an API (Application Programming Interface) to notify the selected one or more applications to perform a memory reduction operation, wherein the API includes the usage level, wherein a first group of the selected one or more applications are notified with a first notification specifying a first usage level to perform a first memory reduction operation, and wherein a second group of the selected one or more applications are notified with a second notification specifying a second usage level to perform a second memory reduction operation; wherein the selected one or more applications are selected based on a dynamic priority list and wherein the usage level is a numerical value which is related to the amount of memory already in use that is determined prior to the notifying. 2. The medium as in claim 1 wherein the selected one or more applications are selected based on a recency based priority list which is dynamic and wherein the memory reduction operation is optional and wherein the notifying includes providing a notification that includes the usage level and using a callback. 3. The medium as in claim 2 wherein the memory reduction operation includes archiving a state of an application in a condensed format. 4. The medium as in claim 1 wherein the dynamic priority list includes a set of critical user applications that have a static, high priority. 5. The medium as in claim 1 wherein the first notification includes a callback to call an API and the second notification includes a callback to call an API. 6. The medium as in claim 5 wherein the memory reduction operation is optional. 7. The medium as in claim 6 wherein the memory reduction operation includes archiving a state of an application in a condensed format. 8. The medium as in claim 1 wherein different usage levels represent different amounts of memory in use. 9. The medium as in claim 8 wherein the machine uses a memory management system that operates without using virtual pages. 10. A machine implemented method comprising: determining, by one or more processors of a memory management module, a usage level of a memory based on a memory usage determined by an operating system, the usage level based on an amount of memory already in use, wherein the usage level is one of a plurality of usage levels; selecting, by the one or more processors of the memory management module, one or more applications from a set of applications which are using the memory; notifying, by the one or more processors of the memory management module, the selected one or more applications of the usage level via an API (Application Programming Interface) to notify the selected one or more applications to perform a memory reduction operation, wherein the API includes the usage level, wherein a first group of the selected one or first memory reduction operation, and wherein a second group of the selected one or more applications are notified with a second notification specifying a second usage level to perform a second memory reduction operation; wherein the selected one or more applications are selected based on a dynamic priority list and wherein the usage level is a numerical value which is related to the amount of memory already in use that is determined prior to the notifying. 11. The method as in claim 10 wherein the selected one or more applications are selected based on a recency based priority list which is dynamic and wherein the memory reduction operation is optional and wherein the notifying includes providing a notification that includes the usage level and using a callback. 12. The method as in claim 11 wherein the memory reduction operation includes archiving a state of an application in a condensed format. 13. The method as in claim 10 wherein the first notification includes a callback to call an API and the second notification includes a callback to call an API. 14. The method as in claim 13 wherein the memory reduction operation is optional. 15. The method as in claim 10 wherein different usage levels represent different amounts of memory in use. 16. The method as in claim 15 wherein the machine uses a memory management system that operates without using virtual pages. 17. A machine readable non-transitory storage medium having instructions which, when executed by a machine, cause the machine to perform method comprising: determining, by one or more processors of a memory management module, a usage level of a memory based on a memory usage determined by an operating system, the usage level based on an amount of memory already in use, wherein the usage level is one of a plurality of usage levels; selecting, by the one or more processors of the memory’ management module, one or more applications from a set of applications which are using the memory; notifying, by the one or more processors of the memory management module, the selected one or more applications via an API (Application Programming Interface) call of a need for the selected one or more applications to perform a memory reduction operation, wherein the API call includes the usage level, wherein a first group of the selected one or more applications are notified with a first notification specifying a first usage level to perform a first memory reduction operation, and wherein a second group of the selected one or more application are notified with a second notification specifying a second usage level to perform a second memory reduction operation; wherein the selected one or more applications are selected based on a dynamic priority list and wherein the usage level is a numerical value which is related to the amount of memory already in use that is determined prior to the notifying. 18. The medium as in claim 17 wherein the selected one or more applications are selected based on a recency based priority list which is dynamic and wherein the memory reduction operation is optional and wherein the notifying includes providing a notification that includes the usage level and using a callback. 19. The medium as in claim 18 wherein the memory reduction operation includes archiving a state of an application in a condensed format. 20. The medium as in claim 17 wherein the first notification includes a callback to call an API call and the second notification includes a callback to call an API call.

Assignees

Inventors

Classifications

  • G06F9/544Primary

    Buffers; Shared memory; Pipes · CPC title

  • Application · CPC title

  • G06F9/485Primary

    Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence) · CPC title

  • Event management; Broadcasting; Multicasting; Notifications · CPC title

  • Monitor · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10127090B2 cover?
A method and an apparatus for determining a usage level of a memory device to notify a running application to perform memory reduction operations selected based on the memory usage level are described. An application calls APIs (Application Programming Interface) integrated with the application codes in the system to perform memory reduction operations. A memory usage level is determined accord…
Who is the assignee on this patent?
Apple Inc
What technology area does this patent fall under?
Primary CPC classification G06F9/544. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Nov 13 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).