From aba15122d52375d6bdb8d6331ac5523b69053f48 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sun, 28 Jun 2020 09:52:58 +0100 Subject: [PATCH] reduce default cache size Now 100 operations by default. --- libvips/iofuncs/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvips/iofuncs/cache.c b/libvips/iofuncs/cache.c index 377651e1..3ec40966 100644 --- a/libvips/iofuncs/cache.c +++ b/libvips/iofuncs/cache.c @@ -78,7 +78,7 @@ gboolean vips__cache_trace = FALSE; * It was 10,000, but this was too high for batch-style applications with * little reuse. */ -static int vips_cache_max = 1000; +static int vips_cache_max = 100; /* How many tracked open files we allow before we start dropping cache. */