use half of RAM for heap