Making Your Own Memory Graph To Detect Memory Issues On iOS

Written by davidgg | Published 2021/04/13
Tech Story Tags: ios | ios-app-development | xcode-instruments | ios-memory-graph | memory | xcode-memory-graph | backend | memory-management

TLDR Apple has shown several approaches that allow us to debug issues related to the application's memory. Xcode Memory Graph captures every application's objects and represents it into a nice and convenient graph with nodes and relations between them. Unfortunately, you can't retrieve this graph from shipped binary*, so if you have some undefined behaviour in your app you are not able to see the detailed information about your app's state. This approach has several advantages: It takes less time to build a graph than Xcode's Memory Graph implementation. It is not recommended to use these techniques in your production code.via the TL;DR App

no story

Written by davidgg | Senior Software Engineer / iOS Developer
Published by HackerNoon on 2021/04/13