Skip to content

>2Gb of memory used for decoding ~1kb file #6

Closed
@Shnatsel

Description

@Shnatsel

The attached files, most of which are under 1Kb in size, require more than 2Gb of RAM to decode. Worse, this occurs in an allocation internal to the code - this memory will be consumed even if the client code uses 4Kb buffers.

Sample files triggering the issue: lz4-fear-decode-ooms.zip

The code to reproduce the issue can be found in #5

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