Method for providing a rapid response to an application launch request
A method, computer program product, and device provide a rapid response to a request to launch an application. The device includes a memory manager application, a memory, and a processor. The memory manager application is configured to receive a request to launch an application; to switch to the application, if the application is open; if the application is not open, to determine if sufficient memory is available to launch the application; if the application is not open and sufficient memory is available, to launch the application; if sufficient memory is not available, to identify a lowest ranking open application from one or more open application using a lowest usage ranking; and if sufficient memory is not available, to close the lowest ranking open application.
1 . A method of responding to a request to launch an application, the method comprising:
receiving a request to launch an application;
switching to the application, if the application is open;
if the application is not open, determining if sufficient memory is available to launch the application;
if the application is not open and sufficient memory is available, launching the application;
if sufficient memory is not available, identifying a lowest ranking open application from one or more open application; and
if sufficient memory is not available, closing the lowest ranking open application.
2 . The method of claim 1 , further comprising incrementing a use counter of the application.
3 . The method of claim 2 , further comprising recording the use counter of the application.
4 . The method of claim 3 , wherein identifying a lowest ranking open application from the one or more open application uses a lowest usage ranking.
5 . The method of claim 4 , wherein the lowest usage ranking is based on a use counter of the one or more open application.
6 . The method of claim 1 , further comprising recording a current date as a last use date of the application.
7 . The method of claim 6 , wherein identifying a lowest ranking open application from the one or more open application uses a lowest usage ranking.
8 . The method of claim 7 , wherein the lowest usage ranking is based on a last use date of the one or more open application.
9 . The method of claim 1 , further comprising recording a memory usage of the application.
10 . The method of claim 9 , wherein determining if sufficient memory is available comprises:
determining an available system memory;
comparing the memory usage of the application to the available system memory; and
if the available system memory is greater than or equal to the memory usage of the application, determining that sufficient memory is available.
11 . The method of claim 1 , further comprising launching a related application if sufficient memory is available and the related application is not open.
12 . A computer program product for responding to a request to launch an application, the computer program product comprising:
computer code configured to:
receive a request to launch an application;
switch to the application, if the application is open;
if the application is not open, determine if sufficient memory is available to launch the application;
if the application is not open and sufficient memory is available, launch the application;
if sufficient memory is not available, identify a lowest ranking open application from one or more open application; and
if sufficient memory is not available, close the lowest ranking open application.
13 . The computer program product of claim 12 , wherein the computer code is further configured to increment a use counter of the application.
14 . The computer program product of claim 13 , wherein the computer code is further configured to record the use counter of the application.
15 . The computer program product of claim 14 , wherein the computer code configured to identify a lowest ranking open application from the one or more open application uses a lowest usage ranking.
16 . The computer program product of claim 15 , wherein the lowest usage ranking is based on a use counter of the one or more open application.
17 . The computer program product of claim 12 , wherein the computer code is further configured to record a current date as a last use date of the application.
18 . The computer program product of claim 17 , wherein the computer code configured to identify a lowest ranking open application from the one or more open application uses a lowest usage ranking.
19 . The computer program product of claim 18 , wherein the lowest usage ranking is based on a last use date of the one or more open application.
20 . The computer program product of claim 12 , wherein the computer code is further configured to record a memory usage of the application.
21 . The computer program product of claim 20 , wherein the computer code configured to determine if sufficient memory is available comprises computer code configured to:
determine an available system memory;
compare the memory usage of the application to the available system memory; and
if the available system memory is greater than or equal to the memory usage of the application, determine that sufficient memory is available.
22 . The computer program product of claim 12 , wherein the computer code is further configured to launch a related application if sufficient memory is available and the related application is not open.
23 . A device for responding to a request to launch an application, the system comprising:
a memory manager application, the memory manager application comprising computer code configured to
receive a request to launch an application;
switch to the application, if the application is open;
if the application is not open, determine if sufficient memory is available to launch the application;
if the application is not open and sufficient memory is available, launch the application;
if sufficient memory is not available, identify a lowest ranking open application from one or more open application; and
if sufficient memory is not available, close the lowest ranking open application;
a memory, wherein the memory stores the memory manager application; and
a processor coupled to the memory, the processor configured to execute the memory manager application.
24 . The device of claim 23 , wherein the computer code is further configured to increment a use counter of the application.
25 . The device of claim 24 , wherein the computer code is further configured to record the use counter of the application.
26 . The device of claim 25 , wherein the computer code configured to identify a lowest ranking open application from the one or more open application uses a lowest usage ranking.
27 . The device of claim 26 , wherein the lowest usage ranking is based on a use counter of the one or more open application.
28 . The device of claim 23 , wherein the computer code is further configured to record a current date as a last use date of the application.
29 . The device of claim 28 , wherein the computer code configured to identify a lowest ranking open application from the one or more open application uses a lowest usage ranking.
30 . The device of claim 29 , wherein the lowest usage ranking is based on a last use date of the one or more open application.
31 . The device of claim 23 , wherein the computer code is further configured to record a memory usage of the application.
32 . The device of claim 31 , wherein the computer code configured to determine if sufficient memory is available comprises computer code configured to:
determine an available system memory;
compare the memory usage of the application to the available system memory; and
if the available system memory is greater than or equal to the memory usage of the application, determine that sufficient memory is available.
33 . The device of claim 23 , wherein the computer code is further configured to launch a related application if sufficient memory is available and the related application is not open.