Skip to content
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 error while converting a luminance matrix to a RGB grayscale bitmap #274

Closed
archie94 opened this issue Mar 25, 2018 · 4 comments
Closed

Comments

@archie94
Copy link
Collaborator

Crashlog

java.lang.OutOfMemoryError: Failed to allocate a 8294412 byte allocation with 6502296 free bytes and 6MB until OOM
 at org.havenapp.main.sensors.media.ImageCodec.lumaToGreyscale(ImageCodec.java:44)
 at org.havenapp.main.sensors.media.ImageCodec.lumaToBitmapGreyscale(ImageCodec.java:55)
 at org.havenapp.main.sensors.media.MotionAsyncTask.run(MotionAsyncTask.java:102)

@n8fr8 n8fr8 added this to the Current Sprint milestone Jul 2, 2018
@n8fr8
Copy link
Member

n8fr8 commented Jul 6, 2018

Should be fixed in 0.2.0 alpha 2... reduced preview size and improved memory usage overall

@lukeswitz
Copy link
Collaborator

Seems to be fixed, tested simulator v5.1-P & devices Nexus 4 5.1 & Pixel P. Could not reproduce, memory use down 40% in preview! Excellent

@n8fr8 n8fr8 closed this as completed Aug 20, 2018
@jbizzle2
Copy link

jbizzle2 commented Aug 23, 2018 via email

@jbizzle2
Copy link

jbizzle2 commented Aug 23, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants