[UPD] run: documentation memory RAM increase by force in script run.sh
This commit is contained in:
parent
a2b7a7d846
commit
d7c4f04c88
1 changed files with 3 additions and 0 deletions
3
run.sh
3
run.sh
|
|
@ -12,6 +12,9 @@ if [ ! -f "${CONFIG_PATH}" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python3 ./odoo/odoo-bin -c ${CONFIG_PATH} --limit-time-real 99999 --limit-time-cpu 99999 --limit-memory-hard=0 "$@"
|
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=$?
|
retVal=$?
|
||||||
if [[ $retVal -ne 0 ]]; then
|
if [[ $retVal -ne 0 ]]; then
|
||||||
echo "Error run.sh"
|
echo "Error run.sh"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue