MEMORY MANAGEMENT FOR APPLICATION LOADING
First Claim
1. A method comprising performing, by one or more processors of a mobile device having a memory system:
- identifying a set of applications that are designated for providing snapshots to be displayed when the mobile device is in a preview mode;
sending a request to the memory system for a current memory pressure level, the memory system communicably coupled with the one or more processors such that applications in the memory system are configured to be executed by the one or more processors;
after determining that the current memory pressure level is below a threshold, loading a first application in the set of applications into the memory system from a persistent storage, wherein the first application is configured to generate a first snapshot of the first application when the first application is loaded into the memory system;
sending another request to the memory system for the current memory pressure level; and
after determining that the current memory pressure level is below the threshold, loading a second application in the set of applications into the memory system from the persistent storage, wherein the second application is configured to generate a second snapshot of the second application when the second application is loaded into the memory system.
1 Assignment
0 Petitions
Accused Products
Abstract
Some embodiments can load one or more applications into working memory from persistent storage when permitted by a memory pressure level of a mobile device. Loading the applications into working memory enables the applications to be launched into the foreground quickly when the user indicates the desire to launch. Some embodiments may identify a set of applications that are designated for providing snapshots to be displayed when the mobile device is in a dock mode. Certain embodiments may determine a current memory pressure level. Some embodiments may load an application in the set of applications into working memory from a persistent storage responsive to determining that the memory pressure level is below a threshold. Certain embodiments may continue to load additional applications responsive to determining that the memory pressure level is below the threshold. After determining that the memory pressure level is above the threshold, some embodiments may reclaim memory.
-
Citations
20 Claims
-
1. A method comprising performing, by one or more processors of a mobile device having a memory system:
-
identifying a set of applications that are designated for providing snapshots to be displayed when the mobile device is in a preview mode; sending a request to the memory system for a current memory pressure level, the memory system communicably coupled with the one or more processors such that applications in the memory system are configured to be executed by the one or more processors; after determining that the current memory pressure level is below a threshold, loading a first application in the set of applications into the memory system from a persistent storage, wherein the first application is configured to generate a first snapshot of the first application when the first application is loaded into the memory system; sending another request to the memory system for the current memory pressure level; and after determining that the current memory pressure level is below the threshold, loading a second application in the set of applications into the memory system from the persistent storage, wherein the second application is configured to generate a second snapshot of the second application when the second application is loaded into the memory system. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A mobile device comprising:
-
one or more processors; and a computer readable medium coupled to the one or more processors, wherein the computer readable medium is encoded with a set of instructions which when executed causes the one or more processors to perform; identifying a set of applications that are designated for providing snapshots to be displayed when the mobile device is in a preview mode; sending a request to a memory system for a current memory pressure level, the memory system communicably coupled with the one or more processors such that applications in the memory system are configured to be executed by the one or more processors; after determining that the current memory pressure level is below a threshold, loading a first application in the set of applications into the memory system from a persistent storage, wherein the first application is configured to generate a first snapshot of the first application when the first application is loaded into the memory system; sending another request to the memory system for the current memory pressure level; and after determining that the current memory pressure level is below the threshold, loading a second application in the set of applications into the memory system from the persistent storage, wherein the second application is configured to generate a second snapshot of the second application when the second application is loaded into the memory system. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer product comprising a non-transitory computer readable medium storing a plurality of instructions that when executed cause one or more processors of a mobile device to perform:
-
identifying a set of applications that are designated for providing snapshots to be displayed when the mobile device is in a preview mode; sending a request to a memory system for a current memory pressure level, the memory system communicably coupled with the one or more processors such that applications in the memory system are configured to be executed by the one or more processors; after determining that the current memory pressure level is below a threshold, loading a first application in the set of applications into the memory system from a persistent storage, wherein the first application is configured to generate a first snapshot of the first application when the first application is loaded into the memory system; sending another request to the memory system for the current memory pressure level; and after determining that the current memory pressure level is below the threshold, loading a second application in the set of applications into the memory system from the persistent storage, wherein the second application is configured to generate a second snapshot of the second application when the second application is loaded into the memory system. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification