kader990 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 0 forks source link

Memory leak caused by video decoder, Orange stack 2.5.2 rich call always failed soon because this issue #107

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Use RI to share live video during an active call
2.One client send live video, the other client receive the live video
3.Find receiver's RI pid in DDMS, and use "adb shell dumpsys meminfo <pid>" to 
watch receiver's native lib memory cost

What is the expected output? What do you see instead?
Expect:We expect receiver's memory cost should stay in a stable number.
Instead:Receiver's native lib memory increase 4-6MB/s, finally will cause RCS 
service crashed and GC

What version of the product are you using? On what operating system?
Product version:Orange stack 2.5.2/2.5.1/2.5.0/2.4.12 
OS:Android 4.2.1
Device: Sumsung Galaxy Nexus/Huawei D1

Please provide any additional information below.
We tested several versions on receiver side. 
2.5.2 to 2.4.12: native lib memory cost increase 30KB/s
2.5.2 to 2.5.0: native lib memory cost increase 100KB/s
2.5.2 to 2.5.1: native lib memory cost increase 100KB/s
2.5.2 ro 2.5.2: native lib memory cost increase 4-6M/s

2.5.2 has provided very good features like better video quality and orientation 
management, hope this issue can be fixed, thanks a lot!

Original issue reported on code.google.com by cjun...@gmail.com on 11 Apr 2013 at 1:14

Attachments:

GoogleCodeExporter commented 9 years ago
Free some resources in native decoder.
See joined files.
Delivered in next release.

Original comment by benoit.j...@gmail.com on 12 Apr 2013 at 12:18

Attachments: