The memory fragmentation problem
Authors:
Open Access
- 1 October 1998
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 34 (3) , 26-36
Abstract
We show that for 8 real and varied C and C++ programs, several conventional dynamic storage allocators provide near-zero fragmentation, once we account for overheads due to implementation details such as headers, alignment, etc. This substantially strengthens our previous results showing that the memory fragmentation problem has generally been misunderstood, and that good allocator policies can provide good memory usage for most programs. The new results indicate that for most programs, excellent allocator policies are readily available, and efficiency of implementation is the major challenge. While we believe that our experimental results are state-of-the-art and our methodology is superior to most previous work, more work should be done to identify and study unusual problematic program behaviors not represented in our sample.Keywords
This publication has 9 references indexed in Scilit:
- The measured cost of conservative garbage collectionSoftware: Practice and Experience, 1993
- Fast allocation and deallocation of memory based on object lifetimesSoftware: Practice and Experience, 1990
- COSMOS: A compiled simulator for MOS circuits1988
- Improving the Performance of Buddy SystemsIEEE Transactions on Computers, 1986
- How not to lie with statistics: the correct way to summarize benchmark resultsCommunications of the ACM, 1986
- New methods for dynamic storage allocation (Fast Fits)1983
- Buddy systemsCommunications of the ACM, 1977
- A fast storage allocatorCommunications of the ACM, 1965
- Experience in automatic storage allocationCommunications of the ACM, 1961