Shrink the default/initial heap a bit so it doesn't overwhelm smaller machines
authorTony Garnock-Jones <tonygarnockjones@gmail.com>
Sun, 05 Aug 2018 20:06:00 +0100
changeset 435 8cad65af7913
parent 434 5c04878ec48e
child 436 f519b01f759b
Shrink the default/initial heap a bit so it doesn't overwhelm smaller machines
experiments/little-smalltalk/run.cc
--- a/experiments/little-smalltalk/run.cc	Sun Aug 05 14:26:49 2018 +0100
+++ b/experiments/little-smalltalk/run.cc	Sun Aug 05 20:06:00 2018 +0100
@@ -131,7 +131,7 @@
   }
 
   VM() {
-    unsigned heapSize = 64 * 1048576;
+    unsigned heapSize = 8 * 1048576;
     heap.resize(heapSize, 0);
     cerr << "Heap bounds: " << &heap[0] << "-" << &heap[heapSize] << endl;
     allocPtr = &heap[0];