From 253ccd25d45c4d003685be6eb7309c0d8bd9d7c6 Mon Sep 17 00:00:00 2001 From: simon987 Date: Fri, 7 Aug 2020 20:44:40 -0400 Subject: [PATCH] Change JVM heap size --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 476fbf9..c21077e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,4 +13,4 @@ ENV PG_PASSWORD "musicbrainz" COPY --from=build /app/target/music-graph-0.1-jar-with-dependencies.jar /app/ WORKDIR /app/ -CMD ["java", "-jar", "/app/music-graph-0.1-jar-with-dependencies.jar"] +CMD ["java", "-jar", "/app/music-graph-0.1-jar-with-dependencies.jar", "-Xms300m", "-Xmx300m"]