# US 10,776,260 B1 · Co-operative memory management system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,776,260 B1
- Document ID: US10776260B1
- Status: Granted
- Kind: B1
- Application number: 16/412,668
- Filed: 2019-05-15
- Granted: 2020-09-15
- Earliest claimed: 2019-05-15
- Assignees: Kinaxis Inc.
- Applicants: Kinaxis Inc.
- Inventors: Angela Lin
- Web page: https://patentgrep.com/patent/US10776260B1

## CPC

- G06F 12/0238: {Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory}
- G06F 9/5016: {the resource being the memory}
- G06F 9/5022: {Mechanisms to release resources}
- G06F 9/5083: {Techniques for rebalancing the load in a distributed system}
- G06F 2209/504: Resource capping
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A system for memory management that comprises: a computing system having a finite amount of memory and a physical computer readable storage memory readable by a processing circuit and storing instructions for execution by the circuit to: set, by a memory coordinator, the urgency of each memory consumer; adjust, by the memory coordinator, the memory quota of each memory consumer—such that the sum of the memory quota of each memory consumer does not exceed the memory; and adjust, by each memory consumer, its memory usage in response to a quota input and an urgency input from the memory coordinator to the memory consumer. The memory is managed by a memory coordinator and memory consumers; and consumed by the memory consumers. Each memory consumer has: a memory quota, an urgency and a memory usage. Also, the urgency of each memory consumer increases as the sum of the memory usage of the plurality of memory consumers approaches the finite amount of memory.

## Claims

### Claim 1

A system for memory management, the system comprising:
a computing system having a finite amount of memory, wherein the finite amount of memory is: managed by a memory coordinator and a plurality of memory consumers; and consumed by the plurality of memory consumers, each memory consumer having a memory quota, an urgency and a memory usage; and
a physical computer readable storage memory readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method, the method comprising:
setting, by the memory coordinator, the urgency of each memory consumer;
adjusting, by the memory coordinator, the memory quota of each memory consumer wherein a sum of the memory quota of each memory consumer does not exceed the finite amount of memory; and
adjusting, by each memory consumer, its memory usage in response to a quota input and an urgency input from the memory coordinator to the memory consumer;
wherein the urgency of each memory consumer increases as the sum of the memory usage of the plurality of memory consumers approaches the finite amount of memory.

### Claim 2 (depends on 1)

The system of claim 1, wherein the method further comprises: setting, by the memory coordinator, a first memory limit that is a fraction of the finite amount of memory, wherein a sum of the memory quotas is less than the first memory limit.

### Claim 3 (depends on 2)

The system of claim 2, wherein the first memory limit is 80%-95% of the finite amount of memory.

### Claim 4 (depends on 2)

The system of claim 2, wherein the method further comprises:
setting, by the memory coordinator, a second memory limit that is a fraction of the first memory limit, wherein the sum of the quotas is less than the second memory limit.

### Claim 5 (depends on 4)

The system of claim 4, wherein the second memory limit is 85%-90% of the first memory limit.

### Claim 6 (depends on 1)

The system of claim 1, wherein the method further comprises releasing, by the memory consumer, an amount of memory held by the memory consumer as the memory usage of the memory consumer approaches or exceeds the memory quota of the memory consumer.

### Claim 7 (depends on 6)

The system of claim 6, wherein the amount of memory released by the memory consumer depends on the urgency input from the memory coordinator.

### Claim 8 (depends on 1)

The system of claim 1, wherein adjusting the memory quota of each memory consumer further comprises:
requesting, by the memory coordinator, the memory usage of each consumer;
ranking, by the memory coordinator, each memory consumer based on a quota need and a memory release capability of each memory consumer; and
rebalancing, by the memory coordinator, the quota of each memory consumer.

### Claim 9 (depends on 8)

The system of claim 8, wherein the memory release capability is based, in part, on: a) a difference between the memory usage and the quota; b) rate of change of the difference over time; and c) rate of change in the memory usage over time.

### Claim 10 (depends on 1)

The system of claim 1, wherein the method further comprises releasing, by the memory consumer, an amount of memory held by the memory consumer without the quota input or the urgency input from the memory coordinator.

### Claim 11

A computer program product for memory management comprising:
a computing system having a finite amount of memory, wherein the finite amount of memory is: managed by a memory coordinator and a plurality of memory consumers; and consumed by the plurality of memory consumers, each memory consumer having a memory quota, an urgency and a memory usage; and
a physical computer readable storage memory readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
setting, by the memory coordinator, the urgency of each memory consumer;
balancing, by the memory coordinator, the memory quota of each memory consumer wherein a sum of the memory usage of each memory consumer does not exceed the finite amount of memory; and
adjusting, by each memory consumer, the memory usage of the memory consumer in response to a quota input and an urgency input from the memory coordinator to the memory consumer;
wherein the urgency of each memory consumer increases as the sum of the memory usage of each memory consumer approaches the finite amount of memory.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the method further comprises:
setting, by the memory coordinator, a first memory limit that is a fraction of the finite amount of memory, wherein a sum of the memory quotas is less than the first memory limit.

### Claim 13 (depends on 12)

The computer program product of claim 12, wherein the first memory limit is 80%-95% of the finite amount of memory.

### Claim 14 (depends on 12)

The computer program product of claim 12, wherein the method further comprises:
setting, by the memory coordinator, a second memory limit that is a fraction of the first memory limit, wherein the sum of the quotas is less than the second memory limit.

### Claim 15 (depends on 14)

The computer program product of claim 14, wherein the second memory limit is 85%-90% of the first memory limit.

### Claim 16 (depends on 11)

The computer program product of claim 11, wherein the method further comprises releasing, by the memory consumer, an amount of memory held by the memory consumer as the memory usage of the memory consumer approaches or exceeds the memory quota of the memory consumer.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the memory released by the memory consumer depends on the urgency input from the memory coordinator.

### Claim 18 (depends on 11)

The computer program product of claim 11, wherein balancing the memory quota of each memory consumer further comprises:
requesting, by the memory coordinator, the memory usage of each consumer;
ranking, by the memory coordinator, each memory consumer based on a quota need and a memory release capability of each memory consumer; and
rebalancing, by the memory coordinator, the quota of each memory consumer.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the a memory release capability depends partly on: a) a difference between the memory usage and the quota; b) rate of change of the difference over time; and c) rate of change in the memory usage over time.

### Claim 20 (depends on 11)

The computer program product of claim 11, wherein the method further comprises releasing, by the memory consumer, an amount of memory held by the memory consumer, without the quota input or the urgency input from the memory coordinator.
