# US 2025/0086014 A1 · Memory management method and apparatus considering performance information

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

- Number: US 2025/0086014 A1
- Document ID: US20250086014A1
- Status: Published application
- Kind: A1
- Application number: 18/960,949
- Filed: 2024-11-26
- Published: 2025-03-13
- Earliest claimed: 2022-07-26
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Changhyeon CHAE; Kyeonghwan JUNG; Jihun JUNG; Jaeook KWON; Jusun SONG; Jaehoon JEONG; Youngho CHOI
- Web page: https://patentgrep.com/patent/US20250086014A1

## CPC

- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- G06F 9/5016: {the resource being the memory}
- G06F 3/06: Digital input from, or digital output to, record carriers {, e.g. RAID, emulated record carriers or networked record carriers}
- G06F 11/3442: {for planning or managing the needed capacity}
- G06F 2201/81: Threshold
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Various embodiments of the present disclosure relate to a memory management method and apparatus which perform a memory return operation by dynamically setting a memory threshold value by additionally considering performance information of an electronic apparatus in addition to an amount of available memory. An electronic apparatus comprises: a memory that stores at least one instruction corresponding to at least one program; and at least one processor, comprising processing circuitry, electrically connected to the memory, wherein at least one processor, individually and/or collectively, is configured to execute the at least one instruction as a process, and to: acquire performance information of the electronic apparatus and an amount of available memory; determine a memory threshold value based on the performance information and the amount of available memory; update a memory threshold value to the determined memory threshold value; and based on the amount of available memory being less than the memory threshold value at a certain point in time, terminate a certain process.

## Claims

### Claim 1

An electronic device, comprising:
a memory storing at least one instruction corresponding to at least one program; and
at least one processor, comprising processing circuitry, electrically connected to the memory, wherein at least one processor, individually and/or collectively, is configured to execute the at least one instruction as a process, and to:
obtain performance information about the electronic device and an available memory amount;
determine a memory threshold based on the performance information and the available memory amount;
update the memory threshold with the determined memory threshold; and
based on the available memory amount at a specified time being less than the memory threshold, terminate a specified process.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein the performance information includes at least one of a CPU usage overhead of a memory reallocation process, a memory swap-out/in overhead due to memory reallocation, a file drop/loading overhead due to memory reallocation, and an application response speed.

### Claim 3 (depends on 1)

The electronic device of claim 1, wherein at least one processor, individually and/or collectively, is configured to: obtain the performance information and available memory amount, determine the memory threshold, and update the memory threshold at a specified period.

### Claim 4 (depends on 1)

The electronic device of claim 1, wherein at least one processor, individually and/or collectively, is configured to set at least one of a maximum memory threshold and a minimum memory threshold based on an external input.

### Claim 5 (depends on 4)

The electronic device of claim 4, wherein at least one processor, individually and/or collectively, is configured to:
determine whether the available memory amount exceeds the memory threshold and whether a performance of the electronic device is less than a specified performance criterion based on the performance information; and
based on the performance of the electronic device being less than the specified performance criterion although the available memory amount exceeds the memory threshold, increase the memory threshold by a specified increment.

### Claim 6 (depends on 4)

The electronic device of claim 4, wherein at least one processor, individually and/or collectively, is configured to:
determine whether the available memory amount exceeds the maximum memory threshold and whether a performance of the electronic device is a specified performance criterion or more based on the performance information; and
based on the performance of the electronic device being the specified performance criterion or more, and the available memory amount exceeding the maximum memory threshold, decrease the memory threshold by a specified decrement.

### Claim 7 (depends on 5)

The electronic device of claim 5, wherein at least one processor, individually and/or collectively, is configured to increase the memory threshold by the specified increment within a limit of the maximum memory threshold.

### Claim 8 (depends on 6)

The electronic device of claim 6, wherein at least one processor, individually and/or collectively, is configured to decrease the memory threshold by the specified decrement within a limit of the minimum memory threshold.

### Claim 9

A memory management method, comprising:
obtaining performance information about an electronic device and an available memory amount;
determining a memory threshold based on the performance information and the available memory amount;
updating the memory threshold with the determined memory threshold; and
based on the available memory amount at a specified time being less than the memory threshold, terminating a specified process.

### Claim 10 (depends on 9)

The memory management method of claim 9, wherein obtaining the performance information and the available memory amount, determining the memory threshold, and updating the memory threshold are performed at a specified period.

### Claim 11 (depends on 9)

The memory management method of claim 9, further comprising setting at least one of a maximum memory threshold and a minimum memory threshold based on an external input.

### Claim 12 (depends on 11)

The memory management method of claim 11, wherein determining the memory threshold includes:
determining whether the available memory amount exceeds the memory threshold and whether a performance of the electronic device is less than a specified performance criterion based on the performance information; and
based on the performance of the electronic device being less than the specified performance criterion although the available memory amount exceeds the memory threshold, increasing the memory threshold by a specified increment.

### Claim 13 (depends on 11)

The memory management method of claim 11, wherein determining the memory threshold includes:
determining whether the available memory amount exceeds the maximum memory threshold and whether a performance of the electronic device is a specified performance criterion or more based on the performance information; and
based on the performance of the electronic device being the specified performance criterion or more, and the available memory amount exceeding the maximum memory threshold, decreasing the memory threshold by a specified decrement.

### Claim 14 (depends on 12)

The memory management method of claim 12, wherein increasing the memory threshold by the specified increment increases the memory threshold by the specified increment within a limit of the maximum memory threshold.

### Claim 15 (depends on 13)

The memory management method of claim 13, wherein decreasing the memory threshold by the specified decrement decreases the memory threshold by the specified decrement within a limit of the minimum memory threshold.
