Questions about the Xcode Memory Graph Debugger.
Questions tagged [memory-graph-debugger]
9 questions
30
votes
6 answers
"Memory Graph Debugger: no serialized memory graph received from LeakAgent" error when using Xcode Memory Graph Debugger
I'm using Xcode 10.2.1 and macOS Catalina Developer Beta 2. Whenever I try to use the Memory Graph debugger, I get this error:
Memory Graph Debugger: no serialized memory graph received from LeakAgent
After that, the loading spinner spins…

Tamás Sengel
- 55,884
- 29
- 169
- 223
4
votes
1 answer
How to debug heavy memory issues on a simple app
I’m facing memory issues in my app and I didn’t find a way to find out yet which objects/classes are using that memory.
The app is simple, a view controller with a gallery view of images (grid view just like Instagram Explore; collection view with…

Daniel Z.
- 458
- 1
- 3
- 23
3
votes
1 answer
iOS Memory leaks , memory graph debugger shows no leaks but in parallel Xcode-Instruments-leaks shows leaks
in my Project When I started to look for leaks in memory graph debugger, I found few and fixed them , and now with memory graph no leaks is found . the problem with Instruments->leaks , sometimes it show leaks and sometimes not , the leaks appears…

Shadi Asi
- 157
- 13
3
votes
1 answer
Xcode memory graph debugger not showing cycles
I have been using the Xcode memory graph debugger to find cyclic references in our project and I've found a few of them.
However, I haven't been able to see the cycles in the graph. Only by inspecting the code.
For instance I'll see…

Fogmeister
- 76,236
- 42
- 207
- 306
2
votes
1 answer
Xcode Memory Graph is reporting leak for deallocated object
The Xcode debug memory graph tool has detected leaks for deallocated cocoa objects as you see in code below. Basically it happens whenever an exception is caught in a block where you allocate cocoa objects. You can give it a try using using any sdk,…

asir
- 21
- 3
2
votes
1 answer
xcode memory graph not show retain cycle
My swift code is below. I have used self in closure but when I run project, memory graph does not show retain cycle. I am wrong about there is a retain cycle?
class ViewController: UIViewController {
private var counter = 0
private var…

ahmetvefa53
- 581
- 6
- 20
1
vote
0 answers
iOS 12.3.1 Memory Debuging not working properly
Since I updated my iPhone XR to iOS 12.3.1 the memory debugging feature of XCode (10.2.1 (10E1001)) only shows grafic related targets. Neither my app target nor UIKit shows up.
Debugging an iPhone X with the same iOS version works perfectly…

Paul Schröder
- 1,440
- 1
- 10
- 19
1
vote
0 answers
Is there a way to run xcode memory graph automatically using command tools?
I want to automatically export memory graph file while running UITest to detect memory usage info of specified component. But cannot find any command tools to achieve. Is There a way to run xcode memory graph automatically using command tools?

bupo.jung
- 81
- 9
0
votes
1 answer
Why Debug Memory Graph do not show UIViewControllerContextTransitioning strong reference to _animator (UIViewControllerInteractiveTransitioning)?
In the book of Matt Neuburg i was reading about interactive custom transition animation and in the example he wrote i stumbled upon this line:
weak var context : UIViewControllerContextTransitioning?
I was thinking why this property was marked…

Ninja
- 309
- 7
- 26