Unlock instant, AI-driven research and patent intelligence for your innovation.

Memory recovery method and device, computer equipment and storage medium

A memory recovery and computer program technology, applied in the computer field, can solve problems that may be the memory of background applications, improve foreground applications, freezes, etc.

Pending Publication Date: 2021-09-14
ONEPLUS TECH SHENZHEN
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The memory page recovered at this time may be the memory of the foreground application or the memory of the background application. If the memory page recovered at this time is the memory of the foreground application, the risk of the foreground application freezing will increase.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory recovery method and device, computer equipment and storage medium
  • Memory recovery method and device, computer equipment and storage medium
  • Memory recovery method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0043] The memory recovery method provided by this application can be applied to such as figure 1 shown in the application environment. The terminal 102 receives the memory reclamation command, and obtains the corresponding target linked list according to the linked list identifier carried by the memory reclamation command, and then scans the application status information of multiple memory pages arranged in order in the target linked list, and determines the memory reclamation according to the scanned application status information The memory pages to be reclaimed are r...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a memory recovery method and device, computer equipment and a storage medium. The method comprises the following steps: receiving a memory recovery instruction, wherein the memory recovery instruction carries a linked list identifier; obtaining a target linked list corresponding to memory recovery according to the linked list identifier; scanning identification bit information of a plurality of memory pages in the target linked list; determining a to-be-recovered memory page of the memory recovery according to the identification bit information, wherein the to-be-recycled memory page comprises a memory page of an application program in a background application state; and recovering the memory page to be recovered. By adopting the method, the accuracy of memory recovery can be improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a memory recovery method, device, computer equipment and storage medium. Background technique [0002] During the operation of the terminal, in order to speed up the read or write operation to the disk, the operating system kernel caches a large amount of data in the memory when the disk is read or written. However, the memory space of the terminal is limited, and a large amount of data is cached in the memory and cannot be released in time, which will cause insufficient memory allocation and cause the operating system to run abnormally. Therefore, the operating system needs to reclaim the memory. [0003] At present, the traditional memory recycling mechanism is to recycle the memory pages in the anonymous linked list or the file linked list according to the strategy of giving priority to the least recently used memory pages. The memory page recovered at this time m...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/02G06F12/0882G06F9/50
CPCG06F12/0253G06F12/0882G06F9/5016G06F2209/5021
Inventor 钟斌
Owner ONEPLUS TECH SHENZHEN