Fix python demo by enlarging the kernel space heap size
This commit is contained in:
parent
a151198d11
commit
1463fb525a
@ -35,7 +35,7 @@ if [ ! -d "image/lib/python3.7" ];then
|
|||||||
cp -rf ../dataset image
|
cp -rf ../dataset image
|
||||||
cp -f ../demo.py image
|
cp -f ../demo.py image
|
||||||
new_json="$(jq '.resource_limits.user_space_size = "320MB" |
|
new_json="$(jq '.resource_limits.user_space_size = "320MB" |
|
||||||
.resource_limits.kernel_space_heap_size = "144MB" |
|
.resource_limits.kernel_space_heap_size = "192MB" |
|
||||||
.process.default_mmap_size = "256MB"' Occlum.json)" && \
|
.process.default_mmap_size = "256MB"' Occlum.json)" && \
|
||||||
echo "${new_json}" > Occlum.json
|
echo "${new_json}" > Occlum.json
|
||||||
occlum build
|
occlum build
|
||||||
|
Loading…
Reference in New Issue
Block a user