From 045946d4ee89ea6377868f557079a6057f5692f9 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Fri, 1 Sep 2000 04:01:55 +0000 Subject: [PATCH] set the default threshold much higher we don't need to run gc frequently --- Modules/gcmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 889ae25a950..28263c07228 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -40,7 +40,7 @@ static int generation = 0; /* current generation being collected */ /* collection frequencies, XXX tune these */ static int enabled = 1; /* automatic collection enabled? */ -static int threshold0 = 100; /* net new containers before collection */ +static int threshold0 = 5000; /* net new containers before collection */ static int threshold1 = 10; /* generation0 collections before collecting 1 */ static int threshold2 = 10; /* generation1 collections before collecting 2 */