File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ if [ -f "/etc/default/${JOSM_VERSION}" ]; then
58
58
fi
59
59
60
60
# If there is more than 8G ram, we can use up to 75% of the memory while still leaving 2G for other things.
61
- if [ " $( free --mega | grep ' ^Mem:' | awk ' {print $2}' ) " -gt 8192 ]; then
61
+ if [ " $( LC_ALL=C LANG=C free --mega | grep ' ^Mem:' | awk ' {print $2}' ) " -gt 8192 ]; then
62
62
# But don't set anything if JAVA_OPTS is already set.
63
63
JAVA_OPTS=" ${JAVA_OPTS:= -XX: MaxRAMPercentage=75.0 -Xms256m} "
64
64
fi
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ if [ -f "/etc/default/${JOSM_VERSION}" ]; then
58
58
fi
59
59
60
60
# If there is more than 8G ram, we can use up to 75% of the memory while still leaving 2G for other things.
61
- if [ " $( free --mega | grep ' ^Mem:' | awk ' {print $2}' ) " -gt 8192 ]; then
61
+ if [ " $( LC_ALL=C LANG=C free --mega | grep ' ^Mem:' | awk ' {print $2}' ) " -gt 8192 ]; then
62
62
# But don't set anything if JAVA_OPTS is already set.
63
63
JAVA_OPTS=" ${JAVA_OPTS:= -XX: MaxRAMPercentage=75.0 -Xms256m} "
64
64
fi
You can’t perform that action at this time.
0 commit comments