ArenaAllocators don't play nicely with ArrayLists
Summary
ArenaAllocators don’t play nicely with ArrayLists. The article explains memory free guarantees for arena allocators and why ArrayList growth (allocate, copy, free) can violate those guarantees. It offers practical guidance: pre-allocate capacity and avoid interleaving other allocations during growth, highlighting allocator-aware patterns and the potential memory impact.