Slackbot
09/15/2022, 1:33 PMBilgehan Kalkan
09/15/2022, 1:34 PMWARNING: Write access to the build cache is unrestricted (use --no-warn-anon-cache-write to suppress this message).
WARNING: Access to the configuration user interface is unrestricted (use --no-warn-anon-ui-access to suppress this message).
Starting Gradle Enterprise build cache node (13.1) ...
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "ratpack-blocking-7-1"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "ratpack-compute-6-1"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "ratpack-blocking-7-2"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "ratpack-compute-6-7"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "ratpack-compute-6-2"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "ratpack-compute-6-8"
Bilgehan Kalkan
09/15/2022, 1:48 PMdocker run --detach \
--user $UID \
--volume /opt/build-cache-node:/data \
--publish 80:5071 \
--restart always \
gradle/build-cache-node:13.1 \
start
Ryan Nett
09/15/2022, 5:19 PMtop
in the docker container to see what the java
process is using)?Bilgehan Kalkan
09/15/2022, 5:38 PMjava
installed. Can I pass -Xms4G -Xmx2G
arguments after start
like below? VM have 64 GB of ram.
docker run --detach \
--user $UID \
--volume /opt/build-cache-node:/data \
--publish 80:5071 \
--restart always \
gradle/build-cache-node:13.1 \
start -Xms4G -Xmx2G
Ryan Nett
09/15/2022, 6:09 PMJAVA_OPTS
on the container to whatever JVM args you want it to useBilgehan Kalkan
09/16/2022, 6:26 AMdocker run --detach \
--user $UID \
--volume /opt/build-cache-node:/data \
--publish 80:5071 \
--restart always \
--env JAVA_OPTS=-Xmx8g \
gradle/build-cache-node:13.1 \
start