Controlling memory usage in systems having limited physical memory
First Claim
1. A method of controlling memory usage in a computer system having limited physical memory, wherein one or more application programs execute in conjunction with an operating system, the method comprising:
- setting a plurality of memory thresholds; and
the operating system wielding, at increasingly critical memory thresholds, correspondingly increasing control over the one or more application programs to reduce memory usage.
1 Assignment
0 Petitions
Accused Products
Abstract
Described herein is a method of controlling memory usage in a computer system having limited physical memory, wherein one or more application programs execute in conjunction with an operating system. At a first memory usage threshold, the operating system requests at least one of the application programs to limit its use of memory. At a second memory usage threshold that is more critical than the first memory usage threshold, the operating system requests at least one of the application programs to close itself. At a third memory usage threshold that is more critical than the first and second memory usage thresholds, the operating system terminates at least one of the application programs without allowing its further execution.
-
Citations
40 Claims
-
1. A method of controlling memory usage in a computer system having limited physical memory, wherein one or more application programs execute in conjunction with an operating system, the method comprising:
-
setting a plurality of memory thresholds; and
the operating system wielding, at increasingly critical memory thresholds, correspondingly increasing control over the one or more application programs to reduce memory usage. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-readable storage medium having computer-executable instructions, which, when executed by one or more processors, cause the one or more processors to perform acts consonant with a method of controlling memory usage in a computer system having limited physical memory, wherein one or more application programs execute in conjunction with an operating system, the acts comprising:
-
setting a plurality of memory thresholds; and
the operating system wielding, at increasingly critical memory thresholds, correspondingly increasing control over the one or more application programs to reduce memory usage.
-
-
10. A computer-readable storage medium having instructions for controlling memory usage in a computer system having limited physical memory, wherein one or more application programs execute in conjunction with an operating system, the instructions being executable by the computer system to perform acts comprising:
-
at a first memory usage threshold, requesting at least one of the application programs to close itself; and
at a second memory usage threshold that is more critical than the first memory usage threshold, terminating at least one of the application programs without allowing its further execution. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A method of controlling memory usage in a computer system having limited physical memory, wherein one or more application programs execute in conjunction with an operating system, comprising:
-
at a first memory usage threshold, requesting at least one of the application programs to limit its use of memory;
at a second memory usage threshold that is more critical than the first memory usage threshold, requesting at least one of the application programs to close itself;
at a third memory usage threshold that is more critical than the first and second memory usage thresholds, terminating at least one of the application programs without allowing its further execution; and
reclaiming unused stack memory and discarding read-only memory before requesting at least one of the application programs to close itself and before terminating at least one of the application programs. - View Dependent Claims (18, 19, 20, 21)
-
-
22. A computer-readable storage medium having computer-executable instructions which, when executed by one or more processors, cause the one or more processors to control memory usage in a computer system having limited physical memory, wherein one or more application programs execute in conjunction with an operating system, by causing the one or more processors to perform acts of:
-
requesting at least one of the application programs to limit its use of memory at a first memory usage threshold;
requesting at least one of the application programs to close itself at a second memory usage threshold that is more critical than the first memory usage threshold;
terminating at least one of the application programs without allowing its further execution at a third memory usage threshold that is more critical than the first and second memory usage thresholds; and
reclaiming unused stack memory and discarding read-only memory before requesting and before terminating.
-
-
23. A computer system comprising:
-
a processor;
an operating system that is executable by the processor and that utilizes the physical memory;
a virtual memory system that includes physical memory but does not include secondary storage; and
one or more application programs that utilize the virtual memory system;
wherein the operating system is configured to perform acts of;
monitoring physical memory usage; and
at increasingly critical physical memory usage thresholds, wielding increasing control over the one or more application programs to reduce physical memory usage. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31)
-
-
32. A method of controlling memory usage in a computer system having limited physical memory, wherein one or more application programs execute in conjunction with an operating system, comprising:
-
monitoring memory usage; and
when memory usage is high, sending a message from the operating system to at least one of the application programs requesting the application program to minimize its current use of memory. - View Dependent Claims (33, 34, 35, 36)
-
-
37. A computer-readable storage medium having instructions for controlling memory usage in a computer system having limited physical memory, wherein one or more application programs execute in conjunction with an operating system, the instructions being executable by the computer system to perform acts comprising:
-
monitoring memory usage;
at a defined memory usage threshold, sending a message from the operating system to at least one of the application programs requesting the application program to reduce its current use of memory. - View Dependent Claims (38, 39)
-
-
40. An application program that resides in a computer-readable memory for execution by a processor in conjunction with an operating system, the application program having a message loop that receives messages from an operating system, the application program being responsive to a particular message received through its message loop to reduce its current use of memory.
Specification