Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory recovery method and device and electronic equipment

A memory recycling and memory technology, applied in the computer field, can solve problems such as lack of flexibility, and achieve the effect of improving flexibility

Inactive Publication Date: 2020-01-24
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF9 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is still a lack of flexibility in the related memory recovery methods

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 and electronic equipment
  • Memory recovery method and device and electronic equipment
  • Memory recovery method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0021] For the operating system, because the size of the memory itself is limited, memory recycling is a more common mechanism. There are two main reasons for memory reclamation: the system needs to provide enough memory for any sudden memory request at any time, so that the use of cache and other related memory will not cause the remaining memory of the system to remain in a very long period of time. less state. Also, when an application larger than free memory arrives, memory recycling w...

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 embodiment of the invention discloses a memory recovery method and device and electronic equipment. The method comprises the following steps: in a memory recovery scene, acquiring memory pressurewhich represents a proportional relation between an unrecovered memory and a scanned memory in a historical time window; obtaining a memory recovery proportion corresponding to the memory pressure, the memory recovery proportion representing a proportion among a plurality of memory recovery objects, wherein the higher the memory pressure is, the lower the proportion of the memory recovery object needing to consume CPU resources during recovery in the corresponding memory recovery proportion is; and performing memory recovery based on the memory recovery proportion. Therefore, under the condition that the memory recovery ratios corresponding to the different memory pressures are different, the current memory pressure can be obtained at first when memory recovery begins, then the respectiverecovery amounts of the multiple memory recovery objects are determined according to the current memory pressure, and then the flexibility of the memory recovery process is improved.

Description

technical field [0001] The present application relates to the technical field of computers, and more specifically, to a memory recovery method, device and electronic equipment. Background technique [0002] Memory, also known as main memory, is a storage space that the CPU can directly address and is made of semiconductor devices. The memory space in the electronic device is limited. In order to ensure that the system has enough memory to use, the system of the electronic device usually performs memory recovery under certain circumstances. However, there is still a lack of flexibility in the related memory recovery methods. Contents of the invention [0003] In view of the above problems, the present application proposes a memory recovery method, device and electronic equipment to improve the above problems. [0004] In the first aspect, the present application provides a method for memory reclamation, the method comprising: when in a memory reclamation scene, acquiring ...

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/02G06F9/50
CPCG06F12/0253G06F9/5016G06F9/5022G06F2212/1044G06F9/5038G06F9/5044
Inventor 周华材
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products