Memory Debugging Talk from iOSDevUK
Here's all those useful links I promised in case you don't want to go through the slides:
Timeline of Computer History https://www.computerhistory.org/timeline/1981/
Prince of Persia Memory War Story https://arstechnica.com/gaming/2020/04/war-stories-how-prince-of-persia-slew-the-apple-iis-memory-limitations/
WWDC Memory Command Line Tools Talk https://developer.apple.com/videos/play/wwdc2018/416/
WWDC Address Sanitizer Talk https://developer.apple.com/videos/play/wwdc2015/413/
Kernel Memory Status Code https://opensource.apple.com/source/xnu/xnu-6153.81.5/bsd/kern/kern_memorystatus.c.auto.html
Jetsam Event Reports https://developer.apple.com/documentation/xcode/identifying-high-memory-use-with-jetsam-event-reports
Diagnosing Crashes https://developer.apple.com/documentation/xcode/diagnosing-memory-thread-and-crash-issues-early
Jonathan Levin Memory Pressure Debug Guide (*OS Internals Author) http://newosxbook.com/articles/MemoryPressure.html
What is a Memory Smasher? https://andrewhoos.com/blog/what-is-a-memory-smasher
Malloc Debug Options https://developer.apple.com/library/archive/documentation/Performance/Conceptual/ManagingMemory/Articles/MallocDebug.html#//apple_ref/doc/uid/20001884-CJBJFIDD
Diagnosing Memory, Thread and Crash Issues Early https://developer.apple.com/documentation/xcode/diagnosing-memory-thread-and-crash-issues-early
What every programmer should know about memory https://lwn.net/Articles/250967/