Memory recovery method and device, storage medium and computer equipment

A memory recycling and object technology, applied in computing, memory systems, memory address/allocation/relocation, etc., can solve problems such as scattered notes, achieve smooth page refresh, improve memory recycling frequency, and reduce internal overhead

Active Publication Date: 2020-06-09
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a memory recovery method, device, storage medium and computer equipment for the technical problems of the video production operator and the scattered notes.

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, storage medium and computer equipment
  • Memory recovery method and device, storage medium and computer equipment
  • Memory recovery method and device, storage medium and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] 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.

[0030] figure 1 It is an application environment diagram of the memory recovery method in one embodiment. The memory recovery method is applied to a memory recovery system. The memory reclamation system includes a terminal 110 and a server 120 . Terminal 110 and server 120 are connected via a network. The terminal 110 may run target applications, such as game applications, page browsing applications, social networking applications, video applications, and the like. Server 120 is a background server that provides services for target applications. The user uses the targ...

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 relates to a memory recovery method and device, a storage medium and computer equipment, and the method comprises the steps: suspending the operation of a target application when a memory recovery condition is met, and clearing a traversal mark of each object which is not deleted after the target application is created at the current time; sequentially traversing whether each objectis an object necessary for running the target application or not from the position of the object in the target sequence, adding a traversal mark to the traversed necessary object, and pausing traversal when a preset single recovery time limit is reached or traversal is finished; when the traversal is not finished, continuing to run the target application for unit duration and then pausing the running again, determining the traversal pausing position as the position of the object in the target sequence, and returning to the traversal step; and when the traversal is finished, deleting the non-traversal-mark-free object which is not deleted after the target application is created up to the current time, and continuing to run the target application to wait for the next memory recovery. According to the scheme, page jamming caused by memory recovery can be eliminated.

Description

technical field [0001] The present application relates to the technical field of internal management, and in particular relates to a memory recovery method, device, storage medium and computer equipment. Background technique [0002] Garbage collection (Garbage Collection, GC) is an automatic memory management mechanism that can automatically find useless objects in a specified memory area and delete them, thereby releasing memory. The commonly used GC algorithm is Mark-Sweep. The main mechanism of this algorithm is to suspend the operation of the target application when garbage collection is required, traverse to find objects in the memory that are still needed by the target application and mark them, and then remove unused Marked objects are deleted as garbage. [0003] However, the mark-and-clear algorithm needs to complete the traversal of all objects in the memory at one time, causing the target application to pause for a long time, resulting in obvious "stuck", which ...

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/02
CPCG06F12/0253
Inventor 何欢
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products