Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dockerfiles
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
schbrain-pub
dockerfiles
Commits
bf042f85
Commit
bf042f85
authored
Nov 26, 2020
by
liwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
@dev 更新jvm参数
parent
3c088b1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
common/run-app.sh
common/run-app.sh
+2
-3
No files found.
common/run-app.sh
View file @
bf042f85
...
...
@@ -6,9 +6,8 @@ if [[ "$SPRING_PROFILE" =~ "online" || "$SPRING_PROFILE" =~ "pre" ]]; then
MEM_OPTS
=
"-Xms3584m -Xmx3584m"
fi
JAVA_OPTS
=
"-server
$MEM_OPTS
-Dspring.profiles.active=
$SPRING_PROFILE
-XX:+UseG1GC -verbose.gc -Xloggc:gc.log
\
-XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:+HeapDumpOnOutOfMemoryError
\
-XX:+PrintGCApplicationConcurrentTime -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=100M
\
JAVA_OPTS
=
"-server
$MEM_OPTS
-Dspring.profiles.active=
$SPRING_PROFILE
-XX:+UseG1GC -verbose.gc
\
-Xlog:gc*=info:file=/app/gc.log::filecount=50,filesize=100M -XX:+HeapDumpOnOutOfMemoryError
\
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.rmi.port=1099
\
-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
\
-DSW_AGENT_NAME=
$SERVICE_NAME
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment