diff --git a/vm/data_gc.c b/vm/data_gc.c index c43fe69bd1..b7bba4997e 100755 --- a/vm/data_gc.c +++ b/vm/data_gc.c @@ -91,13 +91,11 @@ F_DATA_HEAP *alloc_data_heap(CELL gens, F_DATA_HEAP *grow_data_heap(F_DATA_HEAP *data_heap, CELL requested_bytes) { - CELL new_young_size = (data_heap->young_size * 2) + requested_bytes; - CELL new_aging_size = (data_heap->aging_size * 2) + requested_bytes; CELL new_tenured_size = (data_heap->tenured_size * 2) + requested_bytes; return alloc_data_heap(data_heap->gen_count, - new_young_size, - new_aging_size, + data_heap->young_size, + data_heap->aging_size, new_tenured_size); } diff --git a/vm/factor.c b/vm/factor.c index c8791b8972..49f85c3485 100755 --- a/vm/factor.c +++ b/vm/factor.c @@ -21,7 +21,7 @@ void default_parameters(F_PARAMETERS *p) p->gen_count = 3; p->code_size = 8 * CELLS; - p->young_size = 2; + p->young_size = 1; p->aging_size = 2; p->tenured_size = 4 * CELLS; #endif