From ef0c7384299e6104a2d4a967847b8c9cea1e79b8 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Mon, 4 Oct 2010 08:02:29 +0000 Subject: stat-prefetch: reduce the stat-prefetch mem-pool size because we are not calling 'fini()' on old graph, after every graph change, we are leaking lot of memory. Hence reduce the foot-print for now, bring in changes to call 'fini()' later. Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- xlators/performance/stat-prefetch/src/stat-prefetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.c b/xlators/performance/stat-prefetch/src/stat-prefetch.c index e3ecb097ad0..26b42443170 100644 --- a/xlators/performance/stat-prefetch/src/stat-prefetch.c +++ b/xlators/performance/stat-prefetch/src/stat-prefetch.c @@ -21,7 +21,7 @@ #include "statedump.h" #define GF_SP_CACHE_BUCKETS 1 -#define GF_SP_CACHE_ENTRIES_EXPECTED 1048576 +#define GF_SP_CACHE_ENTRIES_EXPECTED (128 * 1024) //1048576 typedef enum { SP_EXPECT, -- cgit