This blogpost (as part of the H2O Advent Calendar 2014) provides a high-level overview of the memory management functions in H2O that can be categorized into four groups. h2o_mem_alloc, h2o_mem_realloc They are wrappers of malloc(3) / realloc(3), that calls abort(3) if memory allocation fails. The returned chunks should be freed by calling free(3). h2o_mem_init_pool, h2o_mem_clear_pool, h2o_mem_al