티스토리 뷰
[GC Policy] GC 별 권고 옵션 자료 (G1GC, CMS, ParallelGC)
GodNR 2019. 1. 9. 11:01#!/bin/sh
# JVM Options : Server
export JAVA_OPTS="-server $JAVA_OPTS"
# G1GC
export JAVA_OPTS="$JAVA_OPTS -XX:+DoEscapeAnalysis -XX:+UseG1GC"
export JAVA_OPTS="$JAVA_OPTS -Xms1024M -Xmx1024M -XX:CompressedClassSpaceSize=
export JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCTimeStamps"
export JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDateStamps"
export JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails"
#export JAVA_OPTS="$JAVA_OPTS -XX:+
export JAVA_OPTS="$JAVA_OPTS -Xloggc:$JBOSS_LOG_DIR/gclog/$
export JAVA_OPTS="$JAVA_OPTS -XX:+
export JAVA_OPTS="$JAVA_OPTS -XX:+
export JAVA_OPTS="$JAVA_OPTS -XX:HeapDumpPath=$JBOSS_LOG_
export JAVA_OPTS="$JAVA_OPTS -XX:+UseCompressedOops"
export JAVA_OPTS="$JAVA_OPTS -XX:+
export JAVA_OPTS="$JAVA_OPTS -XX:+DisableExplicitGC -XX:-UseAdaptiveSizePolicy -XX:CodeCacheMinimumFreeSpace=
export JAVA_OPTS="$JAVA_OPTS -Duser.timezone=GMT -Dfile.encoding=UTF-8 -Dfile.client.encoding=UTF-8"
# CMS
export JAVA_OPTS="$JAVA_OPTS -Xms4g -Xmx4g -XX:NewSize=1536M -XX:MaxNewSize=1536M -XX:MetaspaceSize=512M -XX:MaxMetaspaceSize=512M -XX:SurvivorRatio=8 -XX:CodeCacheMinimumFreeSpace=
export JAVA_OPTS="$JAVA_OPTS -XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps"
export JAVA_OPTS="$JAVA_OPTS -Xloggc:$JBOSS_LOG_DIR/gclog/$
export JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ParallelGCThreads=2 -XX:+
export JAVA_OPTS="$JAVA_OPTS -XX:+
export JAVA_OPTS="$JAVA_OPTS -XX:+DisableExplicitGC -XX:-UseAdaptiveSizePolicy"
export JAVA_OPTS="$JAVA_OPTS -Duser.timezone=GMT -Dfile.encoding=UTF-8 -Dfile.client.encoding=UTF-8"
# ParallelGC
export JAVA_OPTS="$JAVA_OPTS -Xms2048m -Xmx2048m -Xss256k"
#export JAVA_OPTS="$JAVA_OPTS -Xms2048m -Xmx2048m -XX:MaxPermSize=256m -Xss256k"
export JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCTimeStamps"
export JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails"
export JAVA_OPTS="$JAVA_OPTS -Xloggc:$JBOSS_LOG_DIR/gclog/$
export JAVA_OPTS="$JAVA_OPTS -XX:+UseParallelGC"
export JAVA_OPTS="$JAVA_OPTS -XX:+UseParallelOldGC"
#export JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC"
export JAVA_OPTS="$JAVA_OPTS -XX:+
export JAVA_OPTS="$JAVA_OPTS -XX:+
export JAVA_OPTS="$JAVA_OPTS -XX:HeapDumpPath=$JBOSS_LOG_
'② 성능 최적화, 트러블 슈팅 > ⓟ Performance Tuning' 카테고리의 다른 글
[U2L] Unix to Linux 기대효과 분석 (0) | 2019.01.11 |
---|---|
[RHAMT] RedHat Application Migration Toolkit 활용 가이드 (0) | 2019.01.10 |
[GC] GC 잘하는법 (GC 알고리즘, GC 분석) (0) | 2018.11.08 |
[GC] 주요 GC 알고리즘과 JVM 튜닝을 위한 옵션 (0) | 2018.08.29 |
[GC] Log 수집 및 분석 가이드 (0) | 2018.07.13 |
- Total
- Today
- Yesterday
- k8s
- git
- Architecture
- 마이크로서비스 아키텍처
- 오픈스택
- webtob
- API Gateway
- aws
- JEUS7
- Docker
- MSA
- openstack token issue
- aa
- SWA
- OpenStack
- nodejs
- TA
- 쿠버네티스
- wildfly
- kubernetes
- SA
- openstack tenant
- apache
- JEUS6
- 아키텍처
- 마이크로서비스
- JBoss
- node.js
- jeus
- Da
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |