Closed denizmersinlioglu closed 3 weeks ago
Could you please check for retain cycles, because when I just create DefaultMeetingSession and deallocate it - I have some leftovers in memory... Basically, I'm experiencing quite the same as @denizmersinlioglu .
@hokyungh @zhinang-amazon Thanks for your great effort. Is there any update on MediaSDK layer memory leaks?
@denizmersinlioglu sorry for late update. v0.16.0 should contain some memory leak fix in the SDK layer. It doesn't solve all the issue, but it should some memory fix in the SDK layer. We'll work to resolve rest of memory leak fixes on the MediaSDK layer.
Closing this due to inactivity. Please reopen or submit a support case if this is still an issue.
Describe the bug We noticed memory leak in the AmazonChimeSDKDemo application (and also in our own implementation) originated from AmazonChimeSDK.
To Reproduce Steps to reproduce the behavior:
Expected behavior We expect all allocated objects to be deallocated as soon as we leave the meeting.
Logs Here is the memory leak trace from Xcode-Instruments: https://drive.google.com/drive/folders/1ANQNIOvHVX5Erb7Ooq5Oq7zUTKG92KkO?usp=sharing
Screenshots
Test environment Info (please complete the following information):
Additional context 1.In our implementation, we were able to avoid DefaultVideoRenderView leaks by unbind the DefaultVideoRenderView from the audioVideoFacade. 2.The following properties may cause a retain cycle:
@property (nonatomic, retain) NSObject <AudioClientDelegate> *delegate;
private var audioClient: AudioClient