set heap and stack size