From 1463fb525a9a3a2e03fa22dafc3dfbe2a460f4c3 Mon Sep 17 00:00:00 2001 From: LI Qing Date: Wed, 26 Aug 2020 14:06:49 +0800 Subject: [PATCH] Fix python demo by enlarging the kernel space heap size --- demos/python/run_python_on_occlum.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/python/run_python_on_occlum.sh b/demos/python/run_python_on_occlum.sh index d541cf78..441ac9dd 100755 --- a/demos/python/run_python_on_occlum.sh +++ b/demos/python/run_python_on_occlum.sh @@ -35,7 +35,7 @@ if [ ! -d "image/lib/python3.7" ];then cp -rf ../dataset image cp -f ../demo.py image 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)" && \ echo "${new_json}" > Occlum.json occlum build