2 ms·
On Apple's platforms, Instruments has a memory allocation logging tool that's very nice to use. Just attach to a program, no need to recompile: https://www.agn
by pjscott 7y ago
On Apple's platforms, Instruments has a memory allocation logging tool that's very nice to use. Just attach to a program, no need to recompile:
https://www.agnosticdev.com/blog-entry/ios/profiling-memory-allocations-ios-instruments https://www.agnosticdev.com/blog-entry/ios/profiling-memory-...
As a nice bonus, it can also look for memory leaks by running what is essentially a conservative garbage collector on your heap and reporting unreachable allocations.