Skip to content

Commit

Permalink
Fix JVM parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
lolepezy committed Jun 15, 2023
1 parent b2b730b commit 1881c97
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ else
fi

echo "Running rsyncit..."
java -Djava.net.preferIPv4Stack=true \
-Djava.net.preferIPv4Addresses=true \
-Dapp.name=rsyncit \
-Xms1g \
-Xmx3g \
java -Dapp.name=rsyncit \
-Xms2g \
-Xmx2g \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/data/dumps/rsync.hprof \
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 \
-XX:HeapDumpPath=/data/rsync.hprof \
-DrsyncPath=/data \
-jar /rsyncit.jar

0 comments on commit 1881c97

Please sign in to comment.