summaryrefslogtreecommitdiffstats
path: root/module/pyunrar.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/pyunrar.py')
-rw-r--r--module/pyunrar.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/pyunrar.py b/module/pyunrar.py
index a01cb633a..d873ef9bc 100644
--- a/module/pyunrar.py
+++ b/module/pyunrar.py
@@ -292,11 +292,11 @@ class Unrar():
if self.ram:
size = self.biggestFiles["size"] / 1024 ** 2
- if self.ram < 127 and size > 100:
+ if self.ram < 127 and size > 500:
raise LowRamError
- elif self.ram < 256 and size > 300:
+ elif self.ram < 256 and size > 1000:
raise LowRamError
- elif self.ram < 512 and size > 2000:
+ elif self.ram < 512 and size > 5000:
raise LowRamError
tdir = self.tmpdir