Comments (7)
Starting to investigate
from letsrobot-android.
Memory leak is occurring in this function:
https://github.com/btelman96/runmyrobot_android/blob/8c74fda00181842f581e19b9fc0ada7220665aec/letsrobotandroid-api/src/main/java/tv/letsrobot/android/api/components/camera/CameraBaseComponent.kt#L134-L139
If the network is really bad, this will just keep on building up. Fix would be to add an external Queue mechanism
from letsrobot-android.
from letsrobot-android.
This appears to be a mix of Bitmap leaking and handler freezing
from letsrobot-android.
332bcd5 only fixes leaking issues with camera2. The main leak still exists
Edit: This actually broke camera and was reverted
from letsrobot-android.
How this happened:
Frames are sent to an android handler. If the phone cannot process data fast enough or the network is too slow for given bitrate, objects will start to pool up. each time a frame is processed, the pool is eliminated, but if it goes too long without sending a frame, it builds up to the point where the app crashes.
This now will not queue data to the handler unless the handler has no data at all
from letsrobot-android.
Moto Z profiling. 1920x1080 at 10Mbps, which was really laggy. Saw no bad memory spikes
Spike at the beginning is the profiler initializing
from letsrobot-android.
Related Issues (20)
- Remove travis integration
- Bluetooth issues with disconnecting related to bluetooth rewrite HOT 1
- Add a way to escape component pairing
- App crashes on some devices if unsupported resolution is used with legacy camera HOT 1
- MainRobotActivity leaked HOT 1
- TelemetryManager made SplashActivity Leak
- Setup command line execution and configuration for headless devices
- Mebo 2.0 Support HOT 3
- Camera or Audio fails after 3 or 4 times of enabling robot in same session HOT 3
- Android 9.0 Pie ClearText issues
- Android 9.0 Pie Instant Crash
- Remove unused permissions
- Settings UI update, and add more settings HOT 5
- Display Chat on Screen HOT 1
- Customizable ffmpeg command fields in settings HOT 2
- QR Code Image Import crashes due to missing storage permissions
- Some arduino devices fail to be detected via USB
- FFmpeg processes or camera may not release properly HOT 1
- add option for battery and wifi overlay for video
- Navigate user to Settings if they want to run the robot with the screen off, or pop up a prompt
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 letsrobot-android.