Squid internals Memory Pools (src/MemPool.c) (ctd.) How they are used Create a mempool MemPool *mempool = memPoolCreate(description, objectsize) Allocate a memory pool entry data = memPoolAlloc(pool) Free a memory pool entry memPoolFree(pool, data) Destroy a mempool memPoolDestroy(pool)