Skip to content

nvcompBatchedZstdCompressGetTempSizeAsync returns monstrous temp buffer sizes #291

@proc-sim

Description

@proc-sim

[reposting here because I originally missed the instruction in the legacy nvcomp repo to post issues here instead]

nvcompBatchedZstdCompressGetTempSizeAsync returns giant values for temp_bytes, no matter the size of the input data. Even if only 4 bytes are being compressed, the temp buffer size returned will be around 500mb.

Surely a temp buffer of that size isn't actually required for such a small chunk of data to compress?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions