Skip to content

OutOfMemoryException #273

@imakhalova

Description

@imakhalova

Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 1073782796 byte allocation with 3424848 free bytes and 502MB until OOM
at com.drew.lang.StreamReader.getBytes(SourceFile:61)
at com.drew.imaging.png.PngChunkReader.extract(SourceFile:93)
at com.drew.imaging.png.PngMetadataReader.readMetadata(SourceFile:81)
at com.drew.imaging.ImageMetadataReader.readMetadata(SourceFile:126)
at com.drew.imaging.ImageMetadataReader.readMetadata(SourceFile:162)

Looks like reader doesn't expect chunk to be so big...Shouldn't we split this chunk?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions