Skip to content

feat(minecraft-java): auto-size JVM heap from the container memory limit (2.7.0) - #8

Merged
ValgulNecron merged 1 commit into
mainfrom
feat/minecraft-auto-heap
Jul 5, 2026
Merged

ValgulNecron merged 1 commit into
mainfrom
feat/minecraft-auto-heap

Conversation

@ValgulNecron

Copy link
Copy Markdown
Collaborator

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.

gameplaneMinVersion is raised to 0.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 autoFromMemoryLimit CRD feature (feat/config-auto-memory-limit).

🤖 Generated with Claude Code

…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant