Skip to content

Crash due to out of memory error which trying to compress image using createResizedImage #97

@bdipak

Description

@bdipak

While trying to resize large image of size around 5MB, there is an out of memory exception on some lower end phones with low memory. Out of memory exception in this case is expected but it should be gracefully handled instead of crashing the application.

Shouldn't it try to catch all such out of memory exceptions and throw resize error exception to caller? Since it is crashing my app, I am not able to use it in our production app. Please see if you can consider this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions