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

接入4.0.1后Activity内存泄漏 #68

Open
NarutoL opened this issue Mar 31, 2022 · 0 comments
Open

接入4.0.1后Activity内存泄漏 #68

NarutoL opened this issue Mar 31, 2022 · 0 comments

Comments

@NarutoL
Copy link

NarutoL commented Mar 31, 2022

4.0.1demo下面中视频通话页面RoomActivity内存泄漏,步骤:

  1. 为了让检测数据更准确,新增NewMainActivity,MainActivity改为二级页面,RoomActivity则为三级页面;
  2. 进出RoomActivity10次或者20次,退回到一级页面NewMainActivity,在as的Profiler中检测到RoomActivity的10个实例存在泄漏,同样用demo项目的SettingActivity测试没有这样的情况;
  3. 本人项目按照官方文档以及demo接入QNRTC-Android 4.0.1,也检测出Activity泄漏现象;
  4. as版本:Android Studio Bumblebee | 2021.1.1 Patch 1 for Mac;
  5. gradle版本:4.1.0;
  6. 以下为QNRTC-Android-4.0.1 demo检测截图:
    WechatIMG4

请问有人关注过这个问题吗,本人是安卓新手,可能我检测的方式不对或者这根本不算内存泄漏,希望作者或其他开发者能回复一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant