Android: on call end the memory claimed by SDK is not deallocated
@jsaurezlee-msft is already working on this.
Since Jul 19, 2021.
Assessment
This issue has not been assessed yet.
Description
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:
- Start call
- Attach android studio profiler
- End call
- 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
- Dominant language
- No language data
- Stars
- 340
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/Communication
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Azure/Communication#600 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Azure/Communication#599 · 4 comments · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Azure/Communication#598 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Azure/Communication#543 ·
-
Needs: triage :mag:
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Azure/Communication#447 ·