Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
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

Description

@codingjeremy

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    migrated googlesamplesIssue migrated from old repo location (googlesamples/)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions