adjusting memory for spark cluster