Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created January 25, 2016 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnthn/4fa3dc78457f65240f3b to your computer and use it in GitHub Desktop.
Save jnthn/4fa3dc78457f65240f3b to your computer and use it in GitHub Desktop.
diff --git a/src/gc/collect.h b/src/gc/collect.h
index b31a112..af6c456 100644
--- a/src/gc/collect.h
+++ b/src/gc/collect.h
@@ -6,7 +6,7 @@
/* How many bytes should have been promoted into gen2 before we decide to
* do a full GC run? The numbers below are used as a base amount plus an
* extra amount per extra thread we have running. */
-#define MVM_GC_GEN2_THRESHOLD_BASE (30 * 1024 * 1024)
+#define MVM_GC_GEN2_THRESHOLD_BASE (1 * 1024 * 1024)
#define MVM_GC_GEN2_THRESHOLD_THREAD (2 * 1024 * 1024)
/* What things should be processed in this GC run? */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment