Bump default heap size.
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
// Define this to stress test the GC. It will perform a collection before every
|
||||
// allocation.
|
||||
#define DEBUG_GC_STRESS
|
||||
//#define DEBUG_GC_STRESS
|
||||
|
||||
// Define this to log memory operations.
|
||||
//#define TRACE_MEMORY
|
||||
|
||||
@@ -30,7 +30,7 @@ VM* newVM()
|
||||
vm->totalAllocated = 0;
|
||||
|
||||
// TODO(bob): Make this configurable.
|
||||
vm->nextGC = 1024 * 1024;
|
||||
vm->nextGC = 1024 * 1024 * 10;
|
||||
|
||||
// Clear out the global variables. This ensures they are NULL before being
|
||||
// initialized in case we do a garbage collection before one gets initialized.
|
||||
|
||||
Reference in New Issue
Block a user