# US 2012/0260058 A1 · Memory management apparatus, memory management method, and control program

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

- Number: US 2012/0260058 A1
- Document ID: US20120260058A1
- Status: Published application
- Kind: A1
- Application number: 13/428,793
- Filed: 2012-03-23
- Published: 2012-10-11
- Earliest claimed: 2011-04-08
- Inventors: Yasuhiro Matsuzaki; Hiroki Kaminaga; Hiroki Nagahama; Kazumi Sato
- Web page: https://patentgrep.com/patent/US20120260058A1

## CPC

- G06F 9/5016: {the resource being the memory}
- G06F 9/5022: {Mechanisms to release resources}
- G06F 2209/5021: Priority
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory manager secures memory areas according to requests from programs and sets ranks designated by the programs to the secured memory areas. The memory manager selects a memory area released on the basis of the rank of each memory area, from the secured memory areas, when an available capacity of a main storage device is insufficient. The memory manager releases the selected memory area and secures a new memory area. The present disclosure can be applied to an embedded apparatus.

## Claims

### Claim 1

A memory management apparatus comprising:
a memory area allocating unit that secures areas of a storage device according to requests from programs and sets ranks designated by the programs to the secured areas;
a memory area selecting unit that selects an area released on the basis of the rank of each area from the secured areas when an available capacity of the storage device is insufficient; and
a memory area releasing unit that releases the selected area.

### Claim 2 (depends on 1)

The memory management apparatus according to claim 1,
wherein the memory area selecting unit selects an area to be released from areas having ranks lower than a rank of a newly secured area.

### Claim 3 (depends on 2)

The memory management apparatus according to claim 2,
wherein the memory area selecting unit selects an area having the lowest rank among the areas having ranks lower than the rank of the newly secured area as a released area.

### Claim 4 (depends on 3)

The memory management apparatus according to claim 3,
wherein the ranks are previously set to each program, and
the memory area selecting unit selects an area allocated to the program having the lowest rank among the areas having the lowest rank as the released area when there are a plurality of areas having the lowest rank.

### Claim 5 (depends on 2)

The memory management apparatus according to claim 2,
wherein the memory area selecting unit does not secure a new area when there is no area having a rank lower than the rank of the newly secured area.

### Claim 6 (depends on 2)

The memory management apparatus according to claim 2,
wherein the ranks are previously set to each program, and
the memory area releasing unit compulsorily terminates at least one of the programs having ranks lower than the ranks of the programs having requested securing of the areas when there is no area having a rank lower than the rank of the newly secured area.

### Claim 7 (depends on 1)

The memory management apparatus according to claim 1,
wherein the memory area allocating unit changes the ranks of the areas allocated to the programs according to the requests from the programs.

### Claim 8

A memory management method comprising:
securing areas of a storage device according to requests from programs and setting ranks designated by the programs to the secured areas;
selecting an area released on the basis of the rank of each area from the secured areas when an available capacity of the storage device is insufficient; and
releasing the selected area.

### Claim 9

A control program for causing a computer to execute a process comprising:
securing areas of a storage device according to requests from programs and setting ranks designated by the programs to the secured areas;
selecting an area released on the basis of the rank of each area from the secured areas when an available capacity of the storage device is insufficient; and
releasing the selected area.
