Added option to select heap size
Added option to select heap size