suppose we encode a file with lzma with default dictionary size i.e.8MB (may be less).
then while decoding we have a allocate memory to dictionary buffer with size which is obtained from lzma header(5 byte header) during lzmaInit().
since i'm having some memory constraints..so is it possible to decode it with less dictionary size .
lzma.exe provides an argument for setting dictionary size while encoding and decoding.
but source code doesn't takes 4th argument.
7-zip needs for decoding:
ram_buffer_size = min(dictionary_size, uncompressed_size)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.