feat: Add server overhead memory allocation to prevent OOM crashes #101

Closed
opened 2026-04-05 19:46:29 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @ChecksumDev on 8/6/2025

This PR allows server administrators to allocate additional container memory beyond SERVER_MEMORY to account for overhead. For example, if SERVER_MEMORY is set to 6144 MB and the overhead is 2048 MB, the container will receive 8192 MB in total. This prevents crashes in apps like Minecraft, which set JVM limits based on SERVER_MEMORY and can otherwise run out of memory near their plan limit.

*Originally created by @ChecksumDev on 8/6/2025* This PR allows server administrators to allocate additional container memory beyond `SERVER_MEMORY` to account for overhead. For example, if `SERVER_MEMORY` is set to 6144 MB and the overhead is 2048 MB, the container will receive 8192 MB in total. This prevents crashes in apps like Minecraft, which set JVM limits based on `SERVER_MEMORY` and can otherwise run out of memory near their plan limit.
MrUnknownDE added the enhancement label 2026-04-05 19:46:29 +02:00
Sign in to join this conversation.
No Label enhancement
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pyrodactyl#101