diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-02-07 17:07:52 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-02-07 17:07:52 +0200 |
commit | bd7ca1dad5c146b6217799ffaa230c32d207a3e5 (patch) | |
tree | cb31f9f23683048b37c9c968683d72a61a0cc441 | |
parent | MinGW support: Don't build fastpos_tablegen.c as part of (diff) | |
download | xz-bd7ca1dad5c146b6217799ffaa230c32d207a3e5.tar.xz |
Assume 32 MiB of RAM on unsupported operating systems like
the comment in hardware.c already said.
-rw-r--r-- | src/xz/hardware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/hardware.c b/src/xz/hardware.c index 63bf0937..0c372726 100644 --- a/src/xz/hardware.c +++ b/src/xz/hardware.c @@ -81,7 +81,7 @@ hardware_memlimit_init(void) // even that is too much on some systems. But on most systems it's // far too little, and can be annoying. if (mem == 0) - mem = UINT64_C(16) * 1024 * 1024; + mem = UINT64_C(32) * 1024 * 1024; // Use at maximum of 90 % of RAM when encoding and 33 % when decoding. memlimit_encoder = mem - mem / 10; |