Invention Grant
- Patent Title: Memory reclamation method and apparatus
-
Application No.: US16365082Application Date: 2019-03-26
-
Publication No.: US11099900B2Publication Date: 2021-08-24
- Inventor: Qibin Yang , Xiaojun Duan
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Priority: CN201610855624.0 20160927
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/50 ; G06F9/445 ; G06F12/02

Abstract:
A memory reclamation method and apparatus, where the method includes determining a target process from a background process list when current available memory of a system is less than a memory threshold, where the background process list includes a process of one or more applications, the target process is a process among the process of the one or more applications meeting a condition that an absolute value of a difference between memory occupied by the process and a memory pressure value is less than a preset threshold, and the memory pressure value is a difference between the memory threshold and the current available memory of the system, and sending a processing instruction to a system kernel to trigger the system kernel to reclaim the memory occupied by the target process.
Public/Granted literature
- US20190220318A1 Memory Reclamation Method and Apparatus Public/Granted day:2019-07-18
Information query