GC(分配失败)

时间:2019-09-20 18:27:06

标签: solr

我的GC日志文件中出现此错误。我的Solr GC渗出物如下: 有关分配错误的这些设置的任何建议。

CommandLine flags: -XX:CICompilerCount=3 
-XX:CMSInitiatingOccupancyFraction=50 
-XX:CMSMaxAbortablePrecleanTime=6000
 -XX:+CMSParallelRemarkEnabled
 -XX:+CMSScavengeBeforeRemark 
 -XX:ConcGCThreads=4
 -XX:GCLogFileSize=20971520 
 -XX:InitialHeapSize=8589934592 
 -XX:MaxHeapSize=8589934592 
 -XX:MaxNewSize=2147483648
 -XX:MaxTenuringThreshold=8
 -XX:MinHeapDeltaBytes=196608 
 -XX:NewRatio=3 
 -XX:NewSize=2147483648
 -XX:NumberOfGCLogFiles=9
 -XX:OldPLABSize=16 
 -XX:OldSize=6442450944 
 -XX:-OmitStackTraceInFastThrow 
 -XX:OnOutOfMemoryError=/opt/solr/bin/oom_solr.sh 8983 /amex/solr/logs 
 -XX:ParallelGCThreads=4 
 -XX:+ParallelRefProcEnabled
 -XX:PretenureSizeThreshold=67108864 
 -XX:+PrintGC 
 -XX:+PrintGCApplicationStoppedTime
 -XX:+PrintGCDateStamps 
 -XX:+PrintGCDetails 
 -XX:+PrintGCTimeStamps
 -XX:+PrintHeapAtGC 
 -XX:+PrintTenuringDistribution 
 -XX:SurvivorRatio=4 
 -XX:TargetSurvivorRatio=90
 -XX:ThreadStackSize=256 
 -XX:+UseCMSInitiatingOccupancyOnly
 -XX:+UseCompressedClassPointers 
 -XX:+UseCompressedOops
 -XX:+UseConcMarkSweepGC
 -XX:+UseGCLogFileRotation
 -XX:+UseParNewGC


2019-09-20T03:54:28.086-0700: 25493.147: [GC (Allocation Failure) 2019-09-20T03:54:28.086-0700: 25493.147: [ParNew
Desired survivor size 322102880 bytes, new threshold 8 (max 8)
- age   1:     360496 bytes,     360496 total
- age   2:     904048 bytes,    1264544 total
- age   3:     229920 bytes,    1494464 total
- age   4:     237744 bytes,    1732208 total
- age   5:     229696 bytes,    1961904 total
- age   6:     196704 bytes,    2158608 total
- age   7:     229624 bytes,    2388232 total
- age   8:     491856 bytes,    2880088 total
: 1400904K->2857K(1747648K), 0.0184921 secs] 7102880K->5705025K(8039104K), 0.0186875 secs] [Times: user=0.07 sys=0.00, real=0.02 secs] 
Heap after GC invocations=8695 (full 153):

0 个答案:

没有答案