From 95217d0cdedc7a3ac9c96957c469752d90ee7080 Mon Sep 17 00:00:00 2001 From: ttmx Date: Sat, 2 Dec 2023 12:18:46 +0000 Subject: [PATCH] Change the default max heap allocation to java default (#955) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Remove forced Xmx on docker entrypoint * Set default readme copypastable Xmx value to 1G * Remove forced Xmx4G from alpine docker file --------- Co-authored-by: Toπ # Conflicts: # README.md --- LavalinkServer/docker/Dockerfile | 2 +- LavalinkServer/docker/alpine.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LavalinkServer/docker/Dockerfile b/LavalinkServer/docker/Dockerfile index 43a0af872..916af5e14 100644 --- a/LavalinkServer/docker/Dockerfile +++ b/LavalinkServer/docker/Dockerfile @@ -12,4 +12,4 @@ USER lavalink COPY LavalinkServer/build/libs/Lavalink.jar Lavalink.jar -ENTRYPOINT ["java", "-Djdk.tls.client.protocols=TLSv1.1,TLSv1.2", "-Xmx4G", "-jar", "Lavalink.jar"] +ENTRYPOINT ["java", "-Djdk.tls.client.protocols=TLSv1.1,TLSv1.2", "-jar", "Lavalink.jar"] diff --git a/LavalinkServer/docker/alpine.Dockerfile b/LavalinkServer/docker/alpine.Dockerfile index e24daeed2..3409b4c49 100644 --- a/LavalinkServer/docker/alpine.Dockerfile +++ b/LavalinkServer/docker/alpine.Dockerfile @@ -14,4 +14,4 @@ USER lavalink COPY LavalinkServer/build/libs/Lavalink-musl.jar Lavalink.jar -ENTRYPOINT ["java", "-Djdk.tls.client.protocols=TLSv1.1,TLSv1.2", "-Xmx4G", "-jar", "Lavalink.jar"] +ENTRYPOINT ["java", "-Djdk.tls.client.protocols=TLSv1.1,TLSv1.2", "-jar", "Lavalink.jar"]