Memory management method and device, electronic equipment and computer readable storage medium

A memory management and memory technology, applied in the computer field, can solve problems such as memory leaks, weak correlation, and poor memory management effects, and achieve the effects of improving memory management effects, ensuring accuracy, and improving precision

Pending Publication Date: 2021-07-23
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the correlation between the number of references and memory leaks is weak. For example, a data object is only referenced once, but in fact there may still be more serious memory leaks
Therefore, in the solutions provided by related technologies, it is impossible to accurately locate data objects with memory leaks, and the effect of memory management is poor.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the purpose, technical solutions and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings. All other embodiments obtained under the premise of creative labor belong to the scope of protection of this application.

[0036] In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.

[0037] In the following description, the term "first\second" is only used to distinguish similar objects, and does not represent a specific order for objects. It is understandable that "first\second" can be used interchangeably when permitted. The specific order or sequence is changed so that the embodiments of the application described herein can be practiced in oth...

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 management method and device, electronic equipment and a computer readable storage medium. The method comprises the following steps: injecting a memory acquisition program into a running process; collecting occupied memories of a plurality of data objects corresponding to the process through the injected memory collection program; determining the occupied memory difference between the occupied memories of the data object at different moments; according to the memory occupation differences corresponding to the plurality of data objects, determining the data object with memory leakage in the plurality of data objects, and locating the root of the memory leakage problem. Through the method and the device, the data object with the memory leak can be accurately determined, and the memory management effect is improved.

Description

technical field [0001] The present application relates to computer technology, and in particular to a memory management method, device, electronic equipment and computer-readable storage medium. Background technique [0002] Memory is an important part of electronic equipment. All processes of electronic equipment run in memory. The performance of memory affects the overall operating efficiency of electronic equipment. A memory leak may occur during the running of a process. A memory leak means that the memory allocated to the process cannot be released correctly due to some reasons, and then the process will run inefficiently, the process will crash, and even the operating system will crash. [0003] In the solution provided by related technologies, it is usually artificially invasively modifying the code of the process to collect the number of references of multiple data objects corresponding to the process, and then judge whether the data object has a memory leak accordin...

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): G06F9/50
CPCG06F9/5016G06F9/5022G06F9/5038G06F2209/5021
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