Fix the bash demo by increasing the stack size

This commit is contained in:
zongmin.gu 2021-12-08 15:18:58 +08:00 committed by Zongmin.Gu
parent c58f61c56e
commit e2eb294c2e

@ -16,7 +16,8 @@ pushd occlum_instance
rm -rf image
copy_bom -f $bomfile --root image --include-dir /opt/occlum/etc/template
new_json="$(jq '.resource_limits.user_space_size = "600MB" ' Occlum.json)" && \
new_json="$(jq '.resource_limits.user_space_size = "600MB" |
.resource_limits.kernel_space_stack_size ="2MB" ' Occlum.json)" && \
echo "${new_json}" > Occlum.json
occlum build