-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Windows goes to sleep causing Android machine memory to increase #5024
Comments
I used this software and it did not increase the memory capacity. https://www.vysor.io/ |
Thank you for the report. Given the description, it looks like the device buffers input data indefinitely if it is not consumed by the client (applying a backpressure). But if I "freeze" (Ctrl+z on Linux) the client process, I cannot reproduce on my device.
I fail to reproduce: when I put a Windows into sleep mode, when I wake it up, scrcpy is disconnected (the adb socket is closed probably). Can you reproduce with a different device (other than rk3588)? Does it also happen with another encoder? |
Also, does it happen if you capture the camera directly (instead of mirroring the screen and opening the camera app)?
|
Sorry, I didn't make that clear.
|
You mean opening the camera app on Android while scrcpy is running, is that correct? (clicking via scrcpy or not is irrelevant, it is opened on the device anyway)
I tried again, and when I wake up, memory usage on Android is normal (and also scrcpy is closed on wake up). But this is not the same device as yours. |
In
It will list the process sorted by memory usage. |
hi is there any solution? |
Environment
Describe the bug
I am using Windows to interact with rk3588 development and found that the memory usage is increased
Causes the memory to be full, terminating all running background programs
I think it may be caused by the data packet not being released.
Here is how I tested Reappear soon:First open scrcpy and enter the desktop, then open the system camera --->stand still,Next, put your computer Windows into sleep mode.
Select Sleep on the power button in the lower left corner of Windows and wait for 1 minute before waking up.
Then open
adb shell
and executetop
to find that the memory usage is more than 80%. As shownI am using 16GB of RAM
I have tried Android 12 and Android 13 and both have this problem
This happens only when the computer is shut down after sleeping and the adb connection is disconnected. I have also tried disconnecting the adb cable and this does not happen.
Normal memory is as shown in the figure
I have finished talking about the above questions. If you need testing, I am willing to test the software for you.
Thank you!
The text was updated successfully, but these errors were encountered: