GC 로그 아래 방법 : -Xmx64m와JVM의 할당 속도가 높을수록 성능에 영향을 줍니까? -Xmx32m와
808: [GC (Allocation Failure) [PSYoungGen: 9760K->32K(10240K)], 0.0003076 secs]
819: [GC (Allocation Failure) [PSYoungGen: 9760K->32K(10240K)], 0.0003079 secs]
830: [GC (Allocation Failure) [PSYoungGen: 9760K->32K(10240K)], 0.0002968 secs
2nd Allocation rate is (9760-32)/(819-808)= 884.36K
3rd Allocation rate is (9760-32)/(830-819)= 884.36K
GC 로그는 다음과 같습니다 :
https://plumbr.io/handbook/gc-tuning-in-practice 및 http://stuff-gil-says.blogspot.com/2014/10/what-sort-of-allocation-rates-can.html 게시물 당으로808: [GC (Allocation Failure) [PSYoungGen: 20512K->32K(20992K)], 0.0003748 secs]
831: [GC (Allocation Failure) [PSYoungGen: 20512K->32K(20992K)], 0.0004538 secs]
855: [GC (Allocation Failure) [PSYoungGen: 20512K->32K(20992K)], 0.0003355 secs]
2nd allocation rate is (20512-32)/(831-808)=890.43K
3nd allocation rate is (20512-32)/(855-831)=853.33K
, 낮은 할당 비율이 더 낫다. 방법?