GCD Memory Bloat Swift on Linux GCD Memory Bloat Swift on Linux swift swift

GCD Memory Bloat Swift on Linux


I don't believe memory spikes due to autorelease pools should be a thing on Linux. It's possible that something else could be holding onto a reference to one of your objects, though. Try setting a breakpoint in the middle of the loop, then click on "Debug Memory Graph" in the debugger to see what objects have references to the objects that are piling up. This can help determine the cause of objects that stick around longer than they ought to.