aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-10-02 14:35:56 +0300
committerLasse Collin <lasse.collin@tukaani.org>2009-10-02 14:35:56 +0300
commit29fd321033276261b87da7be5223db33d879a4c7 (patch)
tree0f8d551186d41e06a72e291a8db6ed66cd78bb3a /INSTALL
parentUse unaligned access (if possible) on both endiannesses (diff)
downloadxz-29fd321033276261b87da7be5223db33d879a4c7.tar.xz
Add support for --enable-assume-ram=SIZE.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL16
1 files changed, 16 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index f6bc4502..48ba0ff4 100644
--- a/INSTALL
+++ b/INSTALL
@@ -237,6 +237,22 @@ XZ Utils Installation
to optimize for size. You need to add -Os or equivalent
flag(s) to CFLAGS manually.
+ --enable-assume-ram=SIZE
+ On the most common operating systems, XZ Utils is able to
+ detect the amount of physical memory on the system. This
+ information is used to set the default memory usage limit.
+
+ On some systems, there is no code to detect the amount of
+ RAM though. Using --enable-assume-ram one can set how much
+ memory to assume on these systems. SIZE is given as MiB.
+ The default is 32 MiB, which is probably too low for most
+ systems, but it is enough to allow decompressing .xz files
+ created with the default settings.
+
+ Feel free to send patches to add support for detecting
+ the amount of RAM on the operating system you use. See
+ src/common/tuklib_physmem.c for details.
+
--disable-threads
Disable threading support. This makes some things
thread-unsafe, meaning that if multithreaded application