Title :
Memory Leak Detection in Sun Solaris OS
Author :
Ni, Qinqin ; Sun, Weizhen ; Ma, Sen
Author_Institution :
Coll. of Inf. Eng., Capital Normal Univ., Beijing, China
Abstract :
Memory leak has been exposed to be one of the most serious bugs which are hard to locate and fix in computer program. This paper describes three methods of detecting memory leaks in Solaris when programmers do applications. Using dbx can get specific lines of source codes where memory leak occurs and memory leak sizes. MDB and DTrace can inform the users allocation and reclamation of memory blocks, and fix the memory leak points. The experiments show these three tools can enable us to find memory leaks quickly and correctly. It provides new ways to detect memory leak and avoid this serious bug in program.
Keywords :
operating systems (computers); program debugging; software tools; DTrace; Sun Solaris OS; computer program; memory leak detection; source codes; Application software; Computer bugs; Computer science; Educational institutions; Leak detection; Memory management; Operating systems; Programming profession; Resource management; Sun; Memory Leak Detection; Solaris;
Conference_Titel :
Computer Science and Computational Technology, 2008. ISCSCT '08. International Symposium on
Conference_Location :
Shanghai
Print_ISBN :
978-1-4244-3746-7
DOI :
10.1109/ISCSCT.2008.183