diff --git a/rxr_mc/docker-compose.yaml b/rxr_mc/docker-compose.yaml index 02c3655..af96a10 100644 --- a/rxr_mc/docker-compose.yaml +++ b/rxr_mc/docker-compose.yaml @@ -16,6 +16,8 @@ services: stdin_open: true tty: true restart: always + memswap_limit: 10G + mem_limit: 10G # java -Xmx${MAX_MEMORY} -Xms${MIN_MEMORY} -jar ${JAR_FILE} nogui # mem_limit: 11g # memswap_limit: 11g # 禁止使用 swap