Repository navigation
feat(minecraft-java): auto-size JVM heap from the container memory limit (2.7.0) - #8
Merged
Merged
Conversation
…mit (2.7.0)
MAX_MEMORY/INIT_MEMORY lose their static 2G/1G defaults and instead
declare autoFromMemoryLimit: {percent: 75} — the operator computes 75%
of the server's effective memory limit when the field is left empty, so
the heap follows the wizard's memory slider instead of wasting RAM or
getting OOM-killed. Explicit values still win. gameplaneMinVersion is
raised to 0.2.0-beta.6 so older operators refuse the bundle rather than
silently dropping the field (which would leave itzg's 1G default).
Signed-off-by: valgulnecron <39313199+ValgulNecron@users.noreply.github.com>
This was referenced Jul 5, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MAX_MEMORY/INIT_MEMORY drop their static 2G/1G defaults for
autoFromMemoryLimit: {percent: 75}— the operator computes 75% of the server's effective memory limit when the field is left empty, so the heap follows the memory slider (no OOM-killed heaps, no wasted RAM). Explicit values still win.gameplaneMinVersionis raised to0.2.0-beta.6: older operators refuse the bundle instead of pruning the unknown field (which would silently fall back to itzg's 1G default).Pairs with ValgulNecron/Gameplane's
autoFromMemoryLimitCRD feature (feat/config-auto-memory-limit).🤖 Generated with Claude Code