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

Memory leakage point locating method, apparatus and system, and readable storage medium

A technology of memory leaks and positioning methods, applied in software testing/debugging, etc., can solve troubles and other problems

Inactive Publication Date: 2018-01-19
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, how to effectively locate memory leaks during development and debugging is a troublesome process

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 leakage point locating method, apparatus and system, and readable storage medium
  • Memory leakage point locating method, apparatus and system, and readable storage medium
  • Memory leakage point locating method, apparatus and system, and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The core of the present invention is to provide a method for locating a memory leak point, which can effectively locate a memory leak point; another core of the present invention is to provide a memory leak point locating device, system and a computer-readable storage medium , has the above beneficial effects.

[0042] In order to make the purpose, 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 in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0043] Please refer to...

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 discloses a memory leakage point locating method. The method comprises the steps of recording address stack information of a memory allocated by a called memory allocator, and putting the recorded address stack information of the memory into a memory occupation link table; obtaining the address stack information of the memory through the memory occupation link table; comparing the address stack information with basic address stack information and tail address stack information of a dynamic library called by a process, and determining the dynamic library which the address stack information belongs to; and according to the basic address stack information of the dynamic library which the address stack information belongs to, determining specific position information corresponding to the address stack information. According to the method, a memory leakage point can be effectively located. The invention furthermore discloses a memory leakage point locating apparatus and system, and a computer readable storage medium, which have the abovementioned beneficial effects.

Description

technical field [0001] The present invention relates to the field of electronic technology, in particular to a method, device, system and computer-readable storage medium for locating a memory leak point. Background technique [0002] Memory leak refers to the heap memory that has been dynamically allocated in the program is not released or cannot be released for some reason, resulting in a waste of system memory, resulting in serious consequences such as slowing down the running speed of the program and even system crashes. [0003] In the process of software development, kernel leak is a common problem, which directly affects the long-term stable operation of the software system. However, how to effectively locate memory leaks during development and debugging is a troublesome process. [0004] Therefore, how to effectively locate the memory leak point is a technical problem to be solved by those skilled in the art. Contents of the invention [0005] The object of the p...

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): G06F11/36
Inventor 安祥文
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO 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