[UPD] run: documentation memory RAM increase by force in script run.sh

This commit is contained in:
Mathieu Benoit 2023-04-09 22:23:21 -04:00
parent a2b7a7d846
commit d7c4f04c88

3
run.sh
View file

@ -12,6 +12,9 @@ if [ ! -f "${CONFIG_PATH}" ]; then
fi
python3 ./odoo/odoo-bin -c ${CONFIG_PATH} --limit-time-real 99999 --limit-time-cpu 99999 --limit-memory-hard=0 "$@"
# When need more memory RAM for instance by force
#python3 ./odoo/odoo-bin -c ${CONFIG_PATH} --limit-time-real 99999 --limit-time-cpu 99999 --limit-memory-soft=8589934592 --limit-memory-hard=10737418240 $@
retVal=$?
if [[ $retVal -ne 0 ]]; then
echo "Error run.sh"