diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c index 9e011f8..7c8b893 100644 --- a/rpmio/rpmio.c +++ b/rpmio/rpmio.c @@ -2886,7 +2886,7 @@ static LZFILE *lzopen_internal(const char *path, const char *mode, int fd, int x if ((personality(0xffffffff) & PER_MASK) == PER_LINUX32) memlimit = SIZE_MAX; /* 4 GiB */ - memlimit -= SIZE_MAX >> 5; /* 128 MiB */ + memlimit -= SIZE_MAX >> 4; /* 256 MiB */ /* keep reducing the number of threads until memory usage gets below limit */ while ((memory_usage = lzma_stream_encoder_mt_memusage(&mt_options)) > memlimit) { @@ -2899,7 +2899,6 @@ static LZFILE *lzopen_internal(const char *path, const char *mode, int fd, int x } } #endif - ret = lzma_stream_encoder_mt(&lzfile->strm, &mt_options); } #endif