Commit a5ea085f authored by Romulo Pereira Goncalves's avatar Romulo Pereira Goncalves
Browse files

Limit the memory to lower levels

parent 70510dc1
......@@ -56,7 +56,7 @@ echo "Starting HaSa container, please add the input files to ${input_dir_} and r
if [ "${jupyter_notebook,,}" = "true" ]
then
sudo docker run -it --name ${container_name} --privileged \
--oom-kill-disable --memory=30g --memory-swap=14g \
--oom-kill-disable --memory=12g --memory-swap=14g\
-p $jupyter_lab_port:$docker_jupyterlab_port \
-v ${input_dir_}:${in_data_folder} \
-v ${tmp_dir_}:${tmp_data_folder} \
......@@ -65,7 +65,7 @@ then
bash -i -c "cd /home/hasa; jupyter-lab --ip 0.0.0.0 --no-browser --allow-root demo/"
else
sudo docker run -it --name ${container_name} -u 1000:1000 --privileged \
--oom-kill-disable --memory=30g --memory-swap=14g \
--oom-kill-disable --memory=12g --memory-swap=14g \
-v ${input_dir_}:${in_data_folder} \
-v ${tmp_dir_}:${tmp_data_folder} \
-v ${output_dir_}:${out_data_folder} \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment