diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-09-01 04:01:55 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-09-01 04:01:55 (GMT) |
commit | 045946d4ee89ea6377868f557079a6057f5692f9 (patch) | |
tree | c4c3dbb457c2daa74bf8a094f02a8321f2f5f1b4 /Modules | |
parent | b69a27e5b2d336e3ca0e79d08236901ac296b0cc (diff) | |
download | cpython-045946d4ee89ea6377868f557079a6057f5692f9.zip cpython-045946d4ee89ea6377868f557079a6057f5692f9.tar.gz cpython-045946d4ee89ea6377868f557079a6057f5692f9.tar.bz2 |
set the default threshold much higher
we don't need to run gc frequently
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/gcmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 889ae25..28263c0 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 */ |