Skip to main content
Back to USENIX
  • Conferences
  • Students
Sign in

USENIX Conference Policies

  • Event Code of Conduct
  • Conference Network Policy
  • Statement on Environmental Responsibility Policy

Are Mallocs Free of Fragmentation?

Malloc(3) is considered to be a robust building block. However, we found that many malloc implementations suffer from excessive heap fragmentation when used with Hummingbird, a long-running application which stores a large number of fixed-sized and variable-sized objects in dynamic memory. This paper characterizes the dynamic memory activity pattern of Hummingbird and GNU Emacs. It compares the behavior of nine different mallocs when used with Hummingbird and GNU Emacs dynamic memory activity traces. In the Hummingbird case, the best malloc caused 30.5% fragmentation (increased heap size above the amount of live memory), while the worst malloc caused a heap overflow. In the GNU Emacs case, the best malloc caused 2.69% fragmentation, and the worst one caused 101.5% fragmentation.

Aniruddha Bohra, Rutgers University

Eran Gabber, Lucent Technologies–Bell Labs

BibTeX
@inproceedings {270980,
author = {Aniruddha Bohra and Eran Gabber},
title = {Are Mallocs Free of Fragmentation?},
booktitle = {2001 USENIX Annual Technical Conference (USENIX ATC 01)},
year = {2001},
address = {Boston, MA},
url = {https://www.usenix.org/conference/2001-usenix-annual-technical-conference/are-mallocs-free-fragmentation},
publisher = {USENIX Association},
month = jun
}
Download

Links

Paper: 
http://usenix.org/publications/library/proceedings/usenix01/freenix01/full_papers/bohra/bohra.pdf
Paper (HTML): 
http://usenix.org/publications/library/proceedings/usenix01/freenix01/full_papers/bohra/bohra_html/index.html
  • Log in or register to post comments

© USENIX
EIN 13-3055038

  • Privacy Policy
  • Contact Us