Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
apollo
Commits
7d0f0819
Commit
7d0f0819
authored
Jun 12, 2017
by
nobodyiam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust default jvm heap size setting
parent
32f5fc8b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
startup.sh
apollo-adminservice/src/main/scripts/startup.sh
+1
-1
startup.sh
apollo-configservice/src/main/scripts/startup.sh
+1
-1
startup.sh
apollo-portal/src/main/scripts/startup.sh
+1
-1
No files found.
apollo-adminservice/src/main/scripts/startup.sh
View file @
7d0f0819
...
...
@@ -6,7 +6,7 @@ LOG_DIR=/opt/logs/100003172
SERVER_PORT
=
8090
## Adjust memory settings if necessary
#export JAVA_OPTS="-Xms2560m -Xmx2560m -Xss256k -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m -XX:NewSize=1
024m -XX:MaxNewSize=1024m -XX:SurvivorRatio=22
"
#export JAVA_OPTS="-Xms2560m -Xmx2560m -Xss256k -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m -XX:NewSize=1
536m -XX:MaxNewSize=1536m -XX:SurvivorRatio=8
"
## Only uncomment the following when you are using server jvm
#export JAVA_OPTS="$JAVA_OPTS -server -XX:-ReduceInitialCardMarks"
...
...
apollo-configservice/src/main/scripts/startup.sh
View file @
7d0f0819
...
...
@@ -6,7 +6,7 @@ LOG_DIR=/opt/logs/100003171
SERVER_PORT
=
8080
## Adjust memory settings if necessary
#export JAVA_OPTS="-Xms6144m -Xmx6144m -Xss256k -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m -XX:NewSize=4096m -XX:MaxNewSize=4096m -XX:SurvivorRatio=
1
8"
#export JAVA_OPTS="-Xms6144m -Xmx6144m -Xss256k -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m -XX:NewSize=4096m -XX:MaxNewSize=4096m -XX:SurvivorRatio=8"
## Only uncomment the following when you are using server jvm
#export JAVA_OPTS="$JAVA_OPTS -server -XX:-ReduceInitialCardMarks"
...
...
apollo-portal/src/main/scripts/startup.sh
View file @
7d0f0819
...
...
@@ -6,7 +6,7 @@ LOG_DIR=/opt/logs/100003173
SERVER_PORT
=
8080
## Adjust memory settings if necessary
#export JAVA_OPTS="-Xms
4096m -Xmx4096m -Xss256k -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m -XX:NewSize=1536m -XX:MaxNewSize=1536m -XX:SurvivorRatio=22
"
#export JAVA_OPTS="-Xms
2560m -Xmx2560m -Xss256k -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m -XX:NewSize=1536m -XX:MaxNewSize=1536m -XX:SurvivorRatio=8
"
## Only uncomment the following when you are using server jvm
#export JAVA_OPTS="$JAVA_OPTS -server -XX:-ReduceInitialCardMarks"
...
...
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