mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
13 lines
337 B
Diff
13 lines
337 B
Diff
|
diff --git a/fitz/res_pixmap.c b/fitz/res_pixmap.c
|
||
|
index 83f4652..c4d7d6a 100644
|
||
|
--- a/fitz/res_pixmap.c
|
||
|
+++ b/fitz/res_pixmap.c
|
||
|
@@ -1,6 +1,6 @@
|
||
|
#include "fitz.h"
|
||
|
|
||
|
-static int fz_memory_limit = 256 << 20;
|
||
|
+static int fz_memory_limit = 64 << 20; // XXX dpavlin - limit memory usage to 64M
|
||
|
static int fz_memory_used = 0;
|
||
|
|
||
|
fz_pixmap *
|