Methods, systems and computer program products for detecting memory leaks

a technology of memory leakage and detection method, applied in the field of data processing, can solve problems such as identifying possible memory leakage areas

a technology of memory leakage and detection method, applied in the field of data processing, can solve problems such as identifying possible memory leakage areas

US20060212852A1Inactive Publication Date: 2006-09-21IBM CORP

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Methods, systems and computer program products for detecting memory leaks
  • Methods, systems and computer program products for detecting memory leaks
  • Methods, systems and computer program products for detecting memory leaks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The invention now will be described more fully hereinafter with reference to the accompanying drawings, in which illustrative embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Like numbers refer to like elements throughout. As used herein, the term “and / or” includes any and all combinations of one or more of the associated listed items.

[0023] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “...

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

Methods of detecting a memory leak may include identifying a largest ChildNode of a ParentNode; and comparing a total size of the ParentNode to a total size of the largest ChildNode of the ParentNode. If the total size of the ParentNode is significantly larger than the total size of the largest ChildNode of the ParentNode, a possible memory leak area may be identified. Related systems and computer program products are also discussed.

Description

BACKGROUND OF THE INVENTION [0001] The present invention relates to data processing in general and, more particularly, to methods, systems, and computer program products for monitoring program code memory usage. [0002] Object oriented programming is a well-known software application development technique that employs collections of objects or discrete modular data structures that are identified by so called references. More than one reference can identify the same object. The references can be stored in the application variables and within the objects, forming a network of objects and references, known as the reference graph. The objects are created dynamically during the application execution, and are contained in a memory structure referred to as a heap. [0003] Many object oriented programming languages, such as JAVA®, Eiffel, and C sharp C#), employ automatic memory management, popularly known as garbage collection. Automatic memory management is an active component of the runtim...

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
21 Sep 2006
Publication
US20060212852A1
IPC
G06F9/44
CPC
G06F11/3612; G06F12/0253
Inventors
HWANG, JINWOO