3 ms·
We had a random memory corruption problem recently, so we started storing every allocation without releasing, to verify periodically. We do free up old memory,
by gambiting 10y ago
We had a random memory corruption problem recently, so we started storing every allocation without releasing, to verify periodically. We do free up old memory, but only every 10 million allocations or so.
Maybe it's not super common for games programming, but it's definitely common to not use ref counted pointers or anything that could help you here.