@xanderdunn You may also be interested in the discussion in this thread where it was discovered the default allocator on Linux was keeping memory around (for certain allocation sizes) even after the program had released it. I don't know if you can switch allocators on macOS, but it's something to keep in mind.
1 Like