Title :
An efficient heap management technique with Minimum Fragmentation and Auto Compaction
Author :
Baishnab, Krishna Lal ; Dev, Soumyabrata ; Choudhury, Ziaul Haque ; Nag, Amlan
Author_Institution :
Nat. Inst. of Technol., Silchar, India
fDate :
July 29 2010-Aug. 1 2010
Abstract :
Heap management is responsible for the allocation of heap segments to a running application. When the logic of the heap management is left to the application programmer, as it is the case with programming languages like C and C++, a number of problems may arise. One kind of problems related to imperfect heap management is that of memory fragmentation. Hence compaction of data is required to increase the efficient data storage capacity of the memory. Depending on whether active blocks within the heap may be shifted in position, one of the two approaches to compaction is possible: partial compaction and full compaction. But both these methods are too expensive and hence they are generally not used in large program modules. In this paper a new heap management technique MFAC (Minimum Fragmentation and Auto Compaction) is proposed which has an inherent auto compaction technique in its algorithm leading to minimum fragmentation of memory space. Simulation results show that in most scenarios, MFAC outperforms the 1st fit and best fit technique by a considerable margin.
Keywords :
programming languages; software engineering; storage allocation; C; C++; MFAC; application programmer; autocompaction method; data storage capacity; heap management technique; heap segmentation; memory fragmentation method; minimum fragmentation and auto compaction; programming languages; Algorithm design and analysis; Compaction; Computer languages; Information systems; Memory management; Resource management; Software;
Conference_Titel :
Industrial and Information Systems (ICIIS), 2010 International Conference on
Conference_Location :
Mangalore
Print_ISBN :
978-1-4244-6651-1
DOI :
10.1109/ICIINFS.2010.5578695