-
-
Notifications
You must be signed in to change notification settings - Fork 728
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
OOM errors and ANRs #365
Milestone
Comments
This is the flip side of not using RenderScript to handle some of the bitmap conversion.... will dig in! |
How much RAM does your device have? |
Ah, 4GB! Hmm. https://www.gsmarena.com/xiaomi_redmi_note_4-8531.php |
The issue is that your camera is very high res compared to my devices. This can be fixed by controlling resolution of the new CameraView. |
n8fr8
added a commit
that referenced
this issue
Feb 7, 2019
n8fr8
added a commit
that referenced
this issue
Feb 8, 2019
- we are creating too many in memory bitmaps just for fancy UI that isn't that usable - this now displays a simple "motion detected" string instead of the change detection overlay
n8fr8
added a commit
that referenced
this issue
Feb 10, 2019
for #365 reduce camera resolution and remove one unneeded bitmap
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting OOM errors on the current dev branch (272b341)
Logs:
These are reproducible on my side when you reduce the motion detection sensitivity significantly. Furthermore on deactivating an ongoing Event session there are frame skips which are areas that needs optimizations.
Device Info:
Redmi Note 4(mido)
MIUI Global 10.1
Android version 7.0
The text was updated successfully, but these errors were encountered: