run.sh 909 B

1234567891011121314151617181920212223
  1. java \
  2. -Xms256M -Xmx256M \
  3. -XX:ReservedCodeCacheSize=32m -XX:InitialCodeCacheSize=32m \
  4. -XX:+UnlockExperimentalVMOptions -XX:+UseZGC \
  5. -XX:ConcGCThreads=1 -XX:ParallelGCThreads=2 \
  6. -XX:ZCollectionInterval=120 -XX:ZAllocationSpikeTolerance=3 \
  7. -Xlog:safepoint,classhisto*=trace,age*,gc*=info:file=/opt/bin/java/logs/gc-%t.log:time,tid,tags:filecount=5,filesize=50m \
  8. -verbose:gc \
  9. -XX:+PrintGCDetails \
  10. -XX:+PrintGCDateStamps \
  11. -Dsun.rmi.dgc.server.gcInterval=2592000000 \
  12. -Dsun.rmi.dgc.client.gcInterval=2592000000 \
  13. -server \
  14. -Dfile.encoding=UTF-8 \
  15. -XX:+HeapDumpOnOutOfMemoryError \
  16. -XX:HeapDumpPath=/opt/bin/java/logs \
  17. -XX:ErrorFile=/opt/bin/java/logs/hs_err_pid%p.log \
  18. -Xloggc:/opt/bin/java/logs/gc.log \
  19. -Xdebug \
  20. -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n \
  21. -Dspring.config.additional-location=/opt/bin/java/config/application.properties \
  22. -jar \
  23. /opt/bin/java/executable.jar