-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed as not planned
Labels
discussionstatus/staleNo recently activity has been seen and will be closed soon.No recently activity has been seen and will be closed soon.
Description
Describe the problem
Morning guys
seem to keep getting this error appearing below

this seems to happen no matter what pack i choose can anyone share some light on a possible solution for this please?
Container definition
GNU nano 6.2 docker-compose.yml
services:
mc:
image: itzg/minecraft-server:java21
environment:
EULA: true
MODPACK_PLATFORM: AUTO_CURSEFORGE
CF_SLUG: skyfactory-4
CF_FILENAME_MATCHER: 4.2.4
CF_API_KEY: fooBar
MEMORY: 4G
ports:
- "25565:25565"
volumes:
- mc-data:/data
volumes:
mc-data:
Container logs
Attaching to mc-1
mc-1 | [init] Running as uid=1000 gid=1000 with /data as 'drwxr-x--- 14 1000 1000 4096 Mar 16 14:03 /data'
mc-1 | [mc-image-helper] 14:04:02.612 INFO : Requested CurseForge modpack SkyFactory 4 - 4.2.4 is already installed for SkyFactory 4
mc-1 | [mc-image-helper] 14:04:03.045 INFO : Forge version 14.23.5.2860 for minecraft version 1.12.2 is already installed
mc-1 | [mc-image-helper] 14:04:06.243 INFO : Created/updated 1 property in /data/server.properties
mc-1 | [init] Setting initial memory to 4G and max to 4G
mc-1 | [init] Starting the Minecraft server...
mc-1 | #
mc-1 | # There is insufficient memory for the Java Runtime Environment to continue.
mc-1 | # Native memory allocation (mmap) failed to map 4294967296 bytes. Error detail: committing reserved memory.
mc-1 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000700000000, 4294967296, 0) failed; error='Not enough space' (errno=12)
mc-1 | # An error report file with more information is saved as:
mc-1 | # /data/hs_err_pid188.log
mc-1 | 2025-03-16T14:04:06.371Z WARN mc-server-runner Minecraft server failed. Inspect logs above for errors that indicate cause. DO NOT report this line as an error. {"exitCode": 1}
mc-1 | 2025-03-16T14:04:06.371Z INFO mc-server-runner Done
mc-1 exited with code 1```
Metadata
Metadata
Assignees
Labels
discussionstatus/staleNo recently activity has been seen and will be closed soon.No recently activity has been seen and will be closed soon.