-
Notifications
You must be signed in to change notification settings - Fork 0
JVM Options
정명주(myeongju.jung) edited this page Mar 5, 2019
·
1 revision
JAVA_OPTS="$JAVA_OPTS -verbose:gc -XX:+PrintGCDateStamps"
JAVA_OPTS="$JAVA_OPTS -Xloggc:$APPLICATION_BASE/logs/gc_%p.log"
JAVA_OPTS="$JAVA_OPTS -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=2M"
-
-verbose:gc
: GC 로그 활성화 -
-XX:+PrintGC
: 기본 출력(default) -
-XX:+PrintGCDetails
: 상세 출력(일반적으로는 설정할 필요는 없음) -
-XX:+PrintGCDateStamps
:2019-03-05T11:40:24.831+0900
추가 -
-Xloggc:$APPLICATION_BASE/logs/gc_%p.log
: 로그파일 경로 지정
-
-XX:+UseGCLogFileRotation
: GC로그파일 로테이션 On -
-XX:NumberOfGCLogFiles=10
: 10개로 제한 -
-XX:GCLogFileSize=2M
: 최대 사이즈는 2M (8kb >=)
-
https://www.oracle.com/technetwork/articles/java/vmoptions-jsp-140102.html
- 참고로 해당 문서에는 오타(
-
->+
)가 있으므로 주의를 요함(공식 문서인데...)
- 참고로 해당 문서에는 오타(
JAVA
JPA
- JPA-Create-And-Update
- Optional-Eager
- QueryDsl-Configuration
- QueryDsl-More-Type-safety
- QueryDsl-SubQuery
DDD
Install
Spring
Spring-Boot
- Swagger2-Configuration
- Spring-Restdocs-Configuration
- Spring-Page-Jackson
- JSR310-Guide
- logback-spring.xml
- WebMvcUtils.java
- Spring-Boot-Properties
- Spring-Boot-Hidden-Gems
- Spring-Boot-Config
Spring-Cloud
- Spring-Cloud-Zuul
- Spring-Cloud-Feign
- Spring-Cloud-Hystrix
- Spring-Cloud-Consul
- Spring-Cloud-Ribbon
- Spring-Cloud-Circuit-Breaker
JavaScript
Gradle
Test
Linux
Etc
TODO http://zoltanaltfatter.com/2017/06/09/publishing-domain-events-from-aggregate-roots/