-
Hi, I'm trying to get my server to use more memory, but I'm running into problems. Here's my current compose file: services:
app:
image: itzg/minecraft-server
container_name: minecraft
hostname: minecraft
environment:
- EULA=TRUE
- TYPE=FABRIC
- MODRINTH_PROJECTS=cloth-config,lithium,phosphor,krypton,servercore,crawl,repurposed-structures-fabric
- MODS_FILE=/extras/mods.txt
- REMOVE_OLD_MODS=TRUE
- VERSION=1.19.1
- MEMORY = 4G
ports:
- 25565:25565
volumes:
- data:/data
- ./mods.txt:/extras/mods.txt
- ./config:/data/config
tty: true
stdin_open: true
mem_limit: 4G
restart: unless-stopped
volumes:
data: The problem is, the memory stays at 1G:
|
Beta Was this translation helpful? Give feedback.
Answered by
itzg
Aug 7, 2022
Replies: 1 comment 1 reply
-
Try removing the space around the equal sign in |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
poperigby
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try removing the space around the equal sign in
MEMORY = 4G
.