I reproduced the issue on MBP 16" M1 Max with macOS 14.1, iPhone 12 mini with iOS 17.0.3 and iPad Pro M2 with iPadOS 17.1 The memory that "leaks" are mostly huge malloc block of 100-500 MB of size OR IOSurfaces This memory is allocated during predictionsFromBatch, not while loading ...
But I don't know enough about nib unarchiving to know whether I should be releasing these in my dealloc phase or not? iphone objective-c add a comment | 5 Answers active oldest votes up vote 2 down vote accepted This is correct for the iPhone; it would not be correct on the ...
I'm assuming I don't because I'm not explicitly retaining these objects anywhere in my code, and I don't synthesize these into getter/setters. But I don't know enough about nib unarchiving to know whether I should be releasing these in my dealloc phase or not? iphoneobjective-c add ...