Hierarchical memory allocation library
