Skip to content

Is UseCGroupMemoryLimitForHeap enabled? #1101

Answered by itzg
alvarlagerlof asked this question in Q&A
Discussion options

You must be logged in to vote

All of the base image JVMs are using container-aware memory support (the flag is UseContainerSupport BTW):

> docker run --rm --entrypoint bash itzg/minecraft-server -c "java -XX:+PrintFlagsFinal -version|grep -i container"
openjdk version "16.0.2" 2021-07-20
OpenJDK Runtime Environment Temurin-16.0.2+7 (build 16.0.2+7)
OpenJDK 64-Bit Server VM Temurin-16.0.2+7 (build 16.0.2+7, mixed mode, sharing)
     bool PreferContainerQuotaForCPUCount          = true                                      {product} {default}
     bool UseContainerSupport                      = true                                      {product} {default}
> docker run --rm --entrypoint bash itzg/minecraft-server:java8-m…

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@itzg
Comment options

itzg Nov 1, 2021
Maintainer

@alvarlagerlof
Comment options

@alvarlagerlof
Comment options

@alvarlagerlof
Comment options

@itzg
Comment options

itzg Nov 2, 2021
Maintainer

Answer selected by alvarlagerlof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants