Comments (9)
I used this software and it did not increase the memory capacity. https://www.vysor.io/
from scrcpy.
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.
First open scrcpy and enter the desktop, then open the system camera --->stand still,Next, put your computer Windows into sleep mode.
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?
from scrcpy.
Also, does it happen if you capture the camera directly (instead of mirroring the screen and opening the camera app)?
scrcpy --video-source=camera
from scrcpy.
Sorry, I didn't make that clear.
First open scrcpy and enter the desktop, then open the system camera --->stand still,Next, put your computer Windows into sleep mode.
- Open scrcpy software in Windows
- Use the mouse to open the system camera on the scrcpy desktop
- Put the computer to sleep
- Wait for 1 minute
- Wake up the Windows computer again
- Use adb to connect to the Android device and execute top to check the memory usage to see if it has increased
This is how I did it, please try again
from scrcpy.
Use the mouse to open the system camera on the scrcpy desktop
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)
Use adb to connect to the Android device and execute top to check the memory usage to see if it has increased
This is how I did it, please try again
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.
from scrcpy.
My Xiaomi phone 12GB also has a similar situation, which does cause the memory to increase
For Xiaomi, I do this: I use scrcpy on the computer to open the Xiaomi 12 mobile phone camera, and then the computer goes to sleep.
At this time, the mobile phone camera is always open and not closed.
The memory starts to increase slowly.
It is recommended to wait 1-2 minutes before waking up the computer during sleep, open adb shell and execute top to find that the memory is occupied a lot.
from scrcpy.
In adb shell
, run top
with these arguments:
top -o PID,USER,CMDLINE,%MEM
It will list the process sorted by memory usage.
from scrcpy.
It seems that the application does not take up memory
from scrcpy.
hi is there any solution?
If I haven't explained it clearly, we can contact you via Google chat and I will tell you the steps to reproduce the problem.
from scrcpy.
Related Issues (20)
- [Question] about using the scrcpy as a work tool HOT 2
- Scrcpy issue HOT 1
- scrcpy exits with error on device screen on/off HOT 3
- scrcpy not working HOT 4
- Regarding Mouse inputs HOT 2
- ERROR: Controller error HOT 1
- Call of duty mobile not Find Keyboard and mouse, only ESC work
- Can't type the letter 'g' HOT 2
- No adb devices and adb sevice offline HOT 2
- Does it not support AMD CPUs HOT 4
- insert delay for audio forwarding HOT 9
- Huawei harmony os support HOT 2
- how to known connected gamepad on my laptop to games as Physcal?
- GH Discussions HOT 4
- MHL? HOT 2
- app for android HOT 2
- Device randomly restarts on connect HOT 4
- recorded video is corrupted HOT 9
- Spam
- Spam HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrcpy.