renderscript-samples icon indicating copy to clipboard operation
renderscript-samples copied to clipboard

java.lang.OutOfMemoryError: Failed to allocate a 48771084 byte allocation with 16766176 free bytes and 33MB until OOM

Open codingjeremy opened this issue 6 years ago • 0 comments

Issue by krishna0808 Friday Apr 22, 2016 at 04:19 GMT Originally opened as https://github.com/googlesamples/android-BasicRenderScript/issues/2


To do some Renderscript performance benchmarking, i tried to run the sample on different devices like Nexus 6P & Samsung S7. I changed the default image to a 12 MP image takes from Nexus 6P camera. When i launch app, it crashes with OutOfMemory error. Why are we creating so many Bitmaps & Allocations? How can i make it run?

codingjeremy avatar Sep 05 '19 20:09 codingjeremy