Skip to content

Commit ae918c7

Browse files
authored
Changed default jre/java flags
Changed the default given java-flags to a more server-side configuration -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts
1 parent a819795 commit ae918c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ WORKDIR /data
5454
ENTRYPOINT [ "/start" ]
5555

5656
ENV UID=1000 GID=1000 \
57-
JVM_XX_OPTS="-XX:+UseG1GC" MEMORY="1G" \
57+
JVM_XX_OPTS="-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts" MEMORY="2G" \
5858
TYPE=VANILLA VERSION=LATEST FORGEVERSION=RECOMMENDED SPONGEBRANCH=STABLE SPONGEVERSION= FABRICVERSION=LATEST LEVEL=world \
5959
PVP=true DIFFICULTY=easy ENABLE_RCON=true RCON_PORT=25575 RCON_PASSWORD=minecraft \
6060
RESOURCE_PACK= RESOURCE_PACK_SHA1= \

0 commit comments

Comments
 (0)