summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--check.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/check.c b/check.c
index e4a8dfa..fab2d91 100644
--- a/check.c
+++ b/check.c
@@ -49,9 +49,11 @@ static const char rcsid[] =
#include "fsutil.h"
/*
- * If the FAT > this size then skip comparing
+ * If the FAT > this size then skip comparing, lest we risk
+ * OOMing the framework. in the future we need to just re-write
+ * this whole thing and optimize for less memory
*/
-#define FAT_COMPARE_MAX_KB 8192
+#define FAT_COMPARE_MAX_KB 4096
int
checkfilesys(const char *fname)