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

A memory leak detection method and device

A detection method and memory leak technology, applied in the computer field, can solve problems such as memory leaks and low accuracy, and achieve the effect of eliminating interference and improving accuracy

Active Publication Date: 2022-07-19
BEIJING QIANXIN TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a memory leak detection method and device to solve the problem of low accuracy in detecting memory leaks in the prior art

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
  • A memory leak detection method and device
  • A memory leak detection method and device
  • A memory leak detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0020] like figure 1 As shown, it is a flow chart of the steps of a method for detecting a memory leak in an embodiment of the present invention, and the method includes the following steps:

[0021] Step 101: In the process of monitoring the specified object, when each operation on the specified object is monitored, obtain the mem...

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

Embodiments of the present invention provide a method and device for detecting a memory leak, wherein the method includes: in the process of monitoring a specified object, when each operation on the specified object is monitored, acquiring the specified object at each time The memory usage rate after the operation; according to the memory usage rate of the specified object after each operation, it is detected whether the specified object has a memory leak. The embodiments of the present invention improve the accuracy of memory leak detection.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technologies, and in particular, to a method and device for detecting memory leaks. Background technique [0002] A memory leak refers to a situation in which a program fails to release memory that is no longer in use due to negligence or error, that is, a vulnerability that fails to properly release previously allocated memory. Among them, memory leaks may cause various problems, such as programs that leak a lot of memory or programs that leak more and more may have problems such as poor performance, complete memory exhaustion, etc. In addition, leaking programs may also use too much memory, So that another program fails, leaving the user unable to find the real source of the problem. [0003] Combining this with products such as firewalls, if only a certain command line leaks, it will only occupy a very small piece of memory. During the normal use of the product, the memory leak ma...

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 Patents(China)
IPC IPC(8): G06F11/30G06F11/32G06F11/07
Inventor 张晨阳
Owner BEIJING QIANXIN TECH