Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

increase heap size

  • Loading branch information...
commit 8aa51b21f1838d3cabd4dbad6df805d2012e3938 1 parent ea45d66
@cpylua authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 config.h
View
6 config.h
@@ -21,11 +21,11 @@
#define INT_CACHE_LOW -128
-/* 1024 objects in a segment */
+/* objects in a segment */
#define SEGMENT_SIZE 1024 * 128
/* default number of segments in heap */
-#define DEFAULT_HEAP_SIZE 8
+#define DEFAULT_HEAP_SIZE 128
/* extend free_list if availale objects is less than this */
#define EXTEND_THRESHOLD 1024 * 32
@@ -34,7 +34,7 @@
#define GC_THRESHOLD 1024 * 5
/* enable gc debugging info */
-/* #define GC_DEBUG_INFO */
+/* #define GC_DEBUG_INFO */
/* enable rb-tree verification after each insertion */
/* #define VERIFY_RB_TREE */
Please sign in to comment.
Something went wrong with that request. Please try again.