Skip to content

Commit

Permalink
Fix Lower Maximum RAM variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry W authored Apr 18, 2024
1 parent c244615 commit 42d3bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fi

# If Lower Xmx is enabled, then replace Xmx with MaxRAMPercentage
if [ "${LOWER_XMX}" = 1 ]; then
MODIFIED_STARTUP="${MODIFIED_STARTUP//-Xmx\{\{SERVER_MEMORY\}\}M/-XX:MaxRAMPercentage=80.0}"
STARTUP="${STARTUP//-Xmx\{\{SERVER_MEMORY\}\}M/-XX:MaxRAMPercentage=80.0}"
echo -e "\033[1;33mNOTE: \033[0mEnabled Lower Maximum RAM"
fi

Expand Down

0 comments on commit 42d3bfa

Please sign in to comment.