Long-Lived Globals: Arena Lifetime Mismatch

Objects intended to persist for the entire program duration, such as global singletons or application-wide configuration managers, are fundamentally incompatible with arena allocators designed for scoped, temporary memory blocks, risking premature deallocation.

Sources

Open the full topic