From ef1684f29a1757596147856294be90d274546f42 Mon Sep 17 00:00:00 2001 From: Bimba Shrestha Date: Fri, 3 Jan 2020 16:36:47 -0800 Subject: [PATCH] [doc] Adding -M# decompression operation modifier documentation (#1938) * Adding -M# operation modifier documentation * Adding long name, typo and update desc --- programs/zstd.1.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/programs/zstd.1.md b/programs/zstd.1.md index 6a63e978..22a76c23 100644 --- a/programs/zstd.1.md +++ b/programs/zstd.1.md @@ -122,6 +122,11 @@ the last one takes effect. Note: If `windowLog` is set to larger than 27, `--long=windowLog` or `--memory=windowSize` needs to be passed to the decompressor. +* `-M#`, `--memory=#`: + Set a memory usage limit for decompression. By default, Zstandard uses 128 MB + as the maximum amount of memory the decompressor is allowed to use, but you can + override this manually if need be in either direction (ie. you can increase or + decrease it). * `-T#`, `--threads=#`: Compress using `#` working threads (default: 1). If `#` is 0, attempt to detect and use the number of physical CPU cores.