Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: on call end the memory claimed by SDK is not deallocated #305

Open
iaulakh opened this issue May 28, 2021 · 1 comment
Open

Android: on call end the memory claimed by SDK is not deallocated #305

iaulakh opened this issue May 28, 2021 · 1 comment
Assignees
Labels
ADO Linked This issue has an ADO Item on our ADO. Android Issues involving the Android SDK Bug Something isn't working Calling Issue involves Calling functionality.

Comments

@iaulakh
Copy link
Member

iaulakh commented May 28, 2021

Describe the bug

On call end, the application memory usage is not same as before starting call.

Application memory usage:
Before starting call - 150 mb
On start call - 240 mb
After call end - 182 mb

Tested on azure-communication-calling-1.0.0-beta.1.aar

Disposing call agent & call client to cleanup memory.

return call.hangUp(HangUpOptions()).thenRun {
            callAgent.close()
            callClient.close()
            call = null
        }

To Reproduce
Steps to reproduce the behaviour:

  1. Start call
  2. Attach android studio profiler
  3. End call
  4. Explore memory

Expected behavior
After call end, the memory claimed by application may be equal to before call.

Desktop (please complete the following information):

  • OS: Mac

Smartphone (please complete the following information):

  • Device: Google Pixel 4
  • OS: Android 11
  • Version azure-communication-calling-1.0.0-beta.1.aar

https://skype.visualstudio.com/SPOOL/_workitems/edit/2464754

@iaulakh iaulakh added the Bug Something isn't working label May 28, 2021
@ghost ghost added the Needs: triage 🔍 label May 28, 2021
@kagbakpem kagbakpem added Android Issues involving the Android SDK Calling Issue involves Calling functionality. and removed Needs: triage 🔍 labels May 28, 2021
@RinaRish RinaRish added the ADO Linked This issue has an ADO Item on our ADO. label Jun 4, 2021
@RinaRish
Copy link
Contributor

AB#2464754

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADO Linked This issue has an ADO Item on our ADO. Android Issues involving the Android SDK Bug Something isn't working Calling Issue involves Calling functionality.
Projects
None yet
Development

No branches or pull requests

5 participants