To help identify any garbage collector (GC) issues, enable GC logging in production. 
        - 
                In Cloudera Manager, select the Solr service.
            
 - 
                Click the Configuration tab.
            
 - 
                In the Search box, type Java Configuration Options for Solr
                        Server.
            
 - 
                Add arguments controlling GC logging behavior.
                
                    
                        - The minimum recommended GC logging flags are:
                                
-XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps
                                -XX:+PrintGCDetails. 
                        - To rotate the GC logs: 
-Xloggc:
                                -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=
                                -XX:GCLogFileSize=.