After updating to Xcode 10.2, I’ve started getting random leaks in Instruments. Just creating a new default single view app and profiling on a physical device iPad or iPhone shows random leaks. I completely uninstalled the update and tried again and the same is happening. If I use the Memory Graph Debugger everything is good. Any… Show more
I make a new project by xcode 10,then I run a Instrument memory leak test for this in a iPhone 8 Plus(iOS 12.2) directly.About 1 minute later,the Instrument shows some memory leaks.But when I run the same project on a iPhone 4s(iOS 9.3.5),the memory was no leak at all. I am confuse with that situation,I want to know how can I fix this problem??
Profiling a blank application on iOS 12.2 and later always seems to contain memory leaks. We've detected lots of memory warnings in our public iOS app as well. This seems to be a problem with iOS's core frameworks. I've submitted a bug report for this issue here: https://bugreport.apple.com/web/?problemID=49962169 but no response from Apple. Has… Show more
I am seeing the same exact problem. My application makes use of MetalKit and AVAudioEngine for what it is worth. The leaks began showing up in the tools after 12.2. I can confirm that the same exact code running Leaks instrument will have zero leaks with iOS 12.1.2. Under 12.2 and 12.3 many of the core frameworks appear to be leaking. Appears…