openstf / stf

Control and manage Android devices from your browser.
https://openstf.io
Other
13.38k stars 2.79k forks source link

The memory consumption is very severe on some phones #982

Open zhangpeng23796 opened 6 years ago

zhangpeng23796 commented 6 years ago

What is the issue or idea you have?

The memory consumption is very severe on some phones ,while openning USB debug mode,for example: vivo x21, oppo R15 image

The screenshots are refreshed very quickly,because there is an animation in the notification bar ,but no need to refresh quickly.

Does it only happen on a specific device? Please run adb devices -l and paste the corresponding row.

Please provide the steps to reproduce the issue.

What is the expected behavior?

Do you see errors or warnings in the stf local output? If so, please paste them or the full log here.

Please run stf doctor and paste the output here.

sorccu commented 5 years ago

Memory usage should stay fairly constant. However, since STF (or more specifically, minicap) uses private APIs, it could be that there are leaks on some devices. It would be helpful if you could try to analyze the issue further.

luoshangyu commented 5 years ago

never tried vivo x21, but oppo r15 should be fine, I've been running it more than 1 year.