I am trying to use the subject api in an embedded application with very limited (~20MB) memory. I am getting LZMA_MEM_ERROR even though the memory buffer I am trying to encode is about 1MB (and the file containing it compresses to about 200KB if I use the xz program.) I decided to use lzma_allocator to see what kind of memory is being requested. Here is what I got for a single encode call: utils.compression INFO] [compression.c 22] Asking for 160 bytes of memory [utils.compression INFO] [compression.c...
I am trying to use the subject api in an embedded application with very limited (~20MB) memory. I am getting LZMA_MEM_ERROR even though the memory buffer I am trying to encode is about 1MB (and the file containing it compresses to about 200KB if I use the xz program.) I decided to use lzma_allocator to see what kind of memory is being requested. Here is what I got for a single encode call: utils.compression INFO] [compression.c 22] Asking for 160 bytes of memory [utils.compression INFO] [compression.c...