1 Star 0 Fork 43

Danarey/三丙-高并发点赞

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
start.sh 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
baigod 提交于 2024-08-05 09:35 . Initial commit
#!/bin/bash
#
# 抖音关注:程序员三丙
# 知识星球:https://t.zsxq.com/j9b21
#
#
# 抖音关注:程序员三丙
#
echo "Starting Server ..."
export JAVA_APP_OPTS="-XX:+UseContainerSupport -XX:InitialRAMPercentage=10 -XX:MaxRAMPercentage=60 \
-Xlog:gc*,heap*,age*,safepoint=debug:file=/app/logs/gc/gc.log:time,uptime,level,tags:filecount=10,filesize=10M \
-XX:+IgnoreUnrecognizedVMOptions -XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/var/log/gc/ \
-XX:+UseTLAB -XX:+ResizeTLAB -XX:+PerfDisableSharedMem -XX:+UseCondCardMark \
-XX:+UseG1GC -XX:MaxGCPauseMillis=500 -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:MaxTenuringThreshold=10 \
-Xss512k -XX:NewRatio=2 -XX:ConcGCThreads=1 -XX:G1ReservePercent=20 \
-XX:-OmitStackTraceInFastThrow \
-XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m"
#export JAVA_OPTS_EXTEND="-Xdebug -Xrunjdwp:transport=dt_socket,address=0.0.0.0:8000,server=y,suspend=n"
exec java $JAVA_APP_OPTS $JAVA_OPTS_EXTEND -jar application.jar
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/danarey/hc-Like.git
git@gitee.com:danarey/hc-Like.git
danarey
hc-Like
三丙-高并发点赞
master

搜索帮助