Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

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

Open
codingjeremy opened this issue Sep 5, 2019 · 0 comments
Labels
migrated googlesamples Issue migrated from old repo location (googlesamples/)

Comments

@codingjeremy
Copy link
Contributor

Issue by krishna0808
Friday Apr 22, 2016 at 04:19 GMT
Originally opened as googlearchive/android-BasicRenderScript#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 codingjeremy added the migrated googlesamples Issue migrated from old repo location (googlesamples/) label Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
migrated googlesamples Issue migrated from old repo location (googlesamples/)
Projects
None yet
Development

No branches or pull requests

1 participant