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

Memory leak detection method facing Xen environment during operation and implement system thereof

A technology of memory leak and detection method, applied in the field of runtime memory leak detection oriented to Xen virtualization environment, can solve the problems of complex application of virtual computing platform

Active Publication Date: 2013-04-24
FUJIAN NORMAL UNIV
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional runtime memory leak detection methods are constrained by various conditions such as complex applications of virtual computing platforms and widely varying hardware requirements.

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 facing Xen environment during operation and implement system thereof
  • Memory leak detection method facing Xen environment during operation and implement system thereof
  • Memory leak detection method facing Xen environment during operation and implement system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention is a runtime memory leak detection method oriented to the Xen virtualization environment, such as Image 6 As shown, including the following steps:

[0045] Step 1: Dynamically analyze the memory usage behavior of the monitored program, group the memory objects according to the different events of the memory objects or other grouping principles to form multiple memory object groups, and maintain and update the relevant information of each memory object group; The memory object refers to a memory block allocated by system calls such as malloc, realloc, calloc, etc.; the memory object lifetime refers to the period of time from when the memory object is allocated to being released, the lifetime of the memory object is taken The value is in an open interval (0,∞) in a mathematical sense; the memory object group refers to a collection of memory objects with a certain commonality, and each memory object is represented by a tuple (size, callChain), size rep...

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 method and system for detecting memory leak facing Xen virtualization environment during operation. The method for memory leak under Xen virtualization calculating environment during operation is provided. The method mainly includes: (1) performing dynamic analysis on memory usage action of a monitored program, grouping memory objects, and maintaining and updating related information on the memory objects; (2) detecting potential memory leak based on objected behavior characteristics; (3) and performing memory leak judgment according to related rules. Compared with the prior art, the method and system can detect the memory leak during operation in cross-operating system platform and cross-language development environment mode, is wide in application range, has good performance, can improve quality and development efficiency of a software development industry especially software products with limited memory, shortens period of software development, saves development cost directly, and can bring good economic benefit and social benefit.

Description

Technical field [0001] The invention relates to the technical field of virtualized software testing, in particular to a method and system for detecting runtime memory leaks oriented to a Xen virtualized environment. Background technique [0002] Intel and AMD respectively provide hardware-assisted virtualization technology (Virtualization), so that various mainframe virtualization technologies that are not compatible with each other gradually benefit the X86 architecture microcomputer system. All hardware interfaces are virtualized through the virtual machine manager (VMM). A virtual machine (VM) that can independently run a guest operating system (Guest OS) is generated on the physical hardware, and the PC server platform is virtualized with VMM as the center. The virtualization technology provides high-performance and highly reliable cheap servers for various applications. It also provides feasible technical support for current cloud computing, such as various cloud computing s...

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 FUJIAN NORMAL UNIV
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