From f813495e5f7a8b7872c9f044fb36f29a081ac58f Mon Sep 17 00:00:00 2001 From: Michael G Date: Tue, 1 Aug 2017 10:44:26 +0200 Subject: [PATCH] Add RAM arg in java command --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 05990e6..7803f13 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,3 +1,3 @@ #!/bin/sh -java $JAVA_OPTS -jar /minecraft/$FORGE_JAR nogui \ No newline at end of file +java -Xmx${JAVA_RAM} -Xms${JAVA_RAM} $JAVA_OPTS -jar /minecraft/$FORGE_JAR nogui \ No newline at end of file