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

Memory leak detection method and device

A memory leak and memory technology, applied in the computer field, can solve the problems of increasing system resource consumption and increasing the uncertainty of system operation, so as to restore the leaked memory, improve the accuracy, and avoid the effect of manual operation.

Inactive Publication Date: 2017-06-06
DATANG MOBILE COMM EQUIP CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, dynamic detection needs to recompile the program code with specific compilation options, which increases the consumption of system resources, and the introduction of third-party tools also increases the uncertainty of system operation

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0050] refer to figure 1 , which shows a flow chart of the steps of Embodiment 1 of a method for detecting memory leaks of the present application, which may specifically include the following steps:

[0051] Step 101, determine the memory node that executes the memory application operation;

[0052]Usually, when writing the code of the signaling processing subsystem of the PGW network element, the software developer can predetermine the nodes that need to perform memory operations, and the memory operations include memory application operations, and / or memory release operations. Moreover, for the software version that has been officially released, the locations where memory application operations and m...

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 provides a memory leak detection method and device. A memory is internally provided with a first linked list and a second linked list, and the first linked list is provided with multiple storage nodes; the method comprises the steps of determining a memory node executing memory application operation, wherein the memory node is provided with corresponding property information; writing the property information corresponding to the memory node in memory node in the first linked list; transferring the memory node written with the property information from the first linked list to the second linked list; transferring the memory node written with the property information from the second linked list to the first linked list when the memory node executes memory freeing operation. According to the memory leak detection method and device, memory leak information is determined according to the first linked list and the second linked list, thus software developers can detect the problem of memory leak in real time, manual operation is avoided, and the accuracy of memory leak detection is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method for detecting memory leaks and a device for detecting memory leaks. Background technique [0002] In computer science, a memory leak does not refer to the physical disappearance of memory, but rather the failure of the program to release the memory that is no longer used due to a design error after the application allocates a certain section of memory. Segment memory control, resulting in a waste of memory. [0003] In LTE (Long Term Evolution, long-term evolution) technology, PGW (PDN Gate Way, PDN gateway) network element is used as the anchor point for users to PDN (Public Data Network, public data network) network, and needs to support repeated access of large-capacity users , session update, session deletion and other operations, for the signaling processing subsystem of the PGW network element, it means that a large number of memory applications and re...

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
IPC IPC(8): G06F11/36
CPCG06F11/3668
Inventor 王勃群张薇王欣
Owner DATANG MOBILE COMM EQUIP CO LTD