projects
/
platform
/
upstream
/
xz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0ab8c1
)
Assume 32 MiB of RAM on unsupported operating systems like
author
Lasse Collin
<lasse.collin@tukaani.org>
Sat, 7 Feb 2009 15:07:52 +0000
(17:07 +0200)
committer
Lasse Collin
<lasse.collin@tukaani.org>
Sat, 7 Feb 2009 15:07:52 +0000
(17:07 +0200)
the comment in hardware.c already said.
src/xz/hardware.c
patch
|
blob
|
history
diff --git
a/src/xz/hardware.c
b/src/xz/hardware.c
index
63bf093
..
0c37272
100644
(file)
--- 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;