adjusting heap size