# Memory Leak In Zoom Video SDK v1.12.0

**URL:** <https://devforum.zoom.us/t/memory-leak-in-zoom-video-sdk-v1-12-0/114314>\
**Category:** iOS\
**Tags:** video-sdk\
**Created:** [July 24, 2024, 7:59pm UTC](https://devforum.zoom.us/t/memory-leak-in-zoom-video-sdk-v1-12-0/114314 "2024-07-24T19:59:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![prw3100](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@prw3100](https://devforum.zoom.us/u/prw3100)\
**Post date:** [July 24, 2024, 7:59pm UTC](https://devforum.zoom.us/t/memory-leak-in-zoom-video-sdk-v1-12-0/114314/1 "2024-07-24T19:59:38Z")

</div>

Hi,  
I created a IOS demo app that use the Zoom Video SDK v1.12.0 found on ‘zoom-video-sdk-iOS’ repository on github in the ‘swift-package-manager-main’ branch.  
After launching the app, i am successfully able to join or leave the session, however, joinSession and leaveSession is giving me a memory leak. The code used to join the session is:

let sessionContext = ZoomVideoSDKSessionContext()  
sessionContext.token = self.jwt  
sessionContext.sessionName = self.roomName  
sessionContext.userName = self.userName  
ZoomVideoSDK.shareInstance()?.joinSession(sessionContext)

Would this issue be addressed in a future release?

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [August 8, 2024, 3:50pm UTC](https://devforum.zoom.us/t/memory-leak-in-zoom-video-sdk-v1-12-0/114314/2 "2024-08-08T15:50:09Z")

</div>

Can you share the logs for your device? I can open a ticket to get this checked. Do you see the same problem with the latest version of the iOS SDK `v1.12.5`?

---

<div class="post-metadata">

**Author:** ![prw3100](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@prw3100](https://devforum.zoom.us/u/prw3100)\
**Post date:** [August 8, 2024, 9:06pm UTC](https://devforum.zoom.us/t/memory-leak-in-zoom-video-sdk-v1-12-0/114314/3 "2024-08-08T21:06:41Z")

</div>

Hi,  
Thanks for your response. After running “Leaks” provided by Xcode and downloading the latest SDK v1.12.5. There are no memory leaks anymore when joining a session. However when i leave that session, i am still getting memory leaks. What device logs would you like me provide?

---

<div class="post-metadata">

**Author:** ![prw3100](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@prw3100](https://devforum.zoom.us/u/prw3100)\
**Post date:** [August 26, 2024, 4:07pm UTC](https://devforum.zoom.us/t/memory-leak-in-zoom-video-sdk-v1-12-0/114314/4 "2024-08-26T16:07:34Z")

</div>

Are there any updates @ekaansh.zoom to my question?

 ![Screenshot 2024-08-08 at 4.00.36 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/f/8fa4c91f932db85d522f2209aba30ebe04f26843.jpeg)

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [August 30, 2024, 9:42am UTC](https://devforum.zoom.us/t/memory-leak-in-zoom-video-sdk-v1-12-0/114314/5 "2024-08-30T09:42:38Z")

</div>

Sorry for the delay @prw3100, I’ve raised this to engineering and we’re investigating.

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [September 9, 2024, 10:26am UTC](https://devforum.zoom.us/t/memory-leak-in-zoom-video-sdk-v1-12-0/114314/6 "2024-09-09T10:26:51Z")

</div>

Hey @prw3100, thank you for flagging this. This will be fixed in `v1.13.0`.

---

<div class="post-metadata">

**Author:** ![sp.nu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sp.nu/32/49481_2.png) [@sp.nu](https://devforum.zoom.us/u/sp.nu)\
**Post date:** [September 9, 2024, 2:57pm UTC](https://devforum.zoom.us/t/memory-leak-in-zoom-video-sdk-v1-12-0/114314/7 "2024-09-09T14:57:37Z")

</div>

@ekaansh.zoom : Do you have a release date for v1.13.0? Thanks.

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [September 9, 2024, 3:48pm UTC](https://devforum.zoom.us/t/memory-leak-in-zoom-video-sdk-v1-12-0/114314/8 "2024-09-09T15:48:22Z")

</div>

We’re targeting the release for end of this month, but I can’t promise an exact date.

---

<div class="post-metadata">

**Author:** ![prw3100](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@prw3100](https://devforum.zoom.us/u/prw3100)\
**Post date:** [September 18, 2024, 9:29pm UTC](https://devforum.zoom.us/t/memory-leak-in-zoom-video-sdk-v1-12-0/114314/9 "2024-09-18T21:29:31Z")

</div>

Hi @ekaansh.zoom , i was able to download v1.13.0 from the zoom market place. I ran the Zoom VSDK sample app accompanying version and i see that the leaks have drastically reduced, however i still see 1 leak. Screenshot attached

 ![Screenshot 2024-09-18 at 4.23.21 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/0/a098a27c08c31969a4ae5458fa3e2869b3476e6f.jpeg)

Device Log: [ZomVideoSDK 1.13.0.log - Google Drive](https://drive.google.com/file/d/1huhS-qTHA-TgE_l07T1mQ5qAtBxd5ee8/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [September 19, 2024, 12:41pm UTC](https://devforum.zoom.us/t/memory-leak-in-zoom-video-sdk-v1-12-0/114314/10 "2024-09-19T12:41:19Z")

</div>

Hey @prw3100 `v1.13.5` should fix the remaining leaks as well.

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [October 8, 2024, 10:10am UTC](https://devforum.zoom.us/t/memory-leak-in-zoom-video-sdk-v1-12-0/114314/11 "2024-10-08T10:10:41Z")

</div>

Closed on October 8, 2024, 10:10am UTC


