Configure the Collectd Service Heap Size
The collectd service uses an embedded JVM when it gathers metrics
        from the CLDB, Node Manager, Resource Manager, and Drill. You can edit the Plugin Java
        section of collectd.conf to configure limits to the collectd virtual memory
        footprint.
About this task
NOTE
 The Plugin Java section of the collectd.conf file may be commented or uncommented.
                The configure.sh utility will
                uncomment the Plugin Java section when collectd runs on a node that
                requires an embedded JVM. Therefore, when you update the file, do not add or remove
                comment symbols (#) in the Plugin java sectionComplete the following steps on each collectd node:
Procedure
- 
                Open the
                        
/opt/mapr/collectd/collectd-<version>/etc/collectd.conffile. - 
                Look for the following section:  
                
## **** MAPR_CONF_JMX_TAG: MAPR CONFIGURATION - DO NOT EDIT or REMOVE TAG/BLOCK *** <Plugin java> JVMArg "-Djava.class.path=...... - 
                Update 
XmsandXmxoptions in the Plugin java section.Xmsdefines the amount of memory allocated to the service when it starts.Xmxdefines the maximum amount of memory allocated to the service.If the <Plugin java> section is not commented out, the configuration may look like this:## **** MAPR_CONF_JMX_TAG: MAPR CONFIGURATION - DO NOT EDIT or REMOVE TAG/BLOCK *** <Plugin java> JVMArg "-Djava.class.path=...... JVMArg "-Xms32m" JVMArg "-Xmx128m"If the <Plugin java> section is commented out, the configuration may look like this:### **** MAPR_CONF_JMX_TAG: MAPR CONFIGURATION - DO NOT EDIT or REMOVE TAG/BLOCK *** #<Plugin java> # JVMArg "-Djava.class.path=...... # JVMArg "-Xms32m" # JVMArg "-Xmx128m" - 
                Restart the 
collectdservice.maprcli node services -name collectd -nodes <space separated list of hostname/IPaddresses> -action restart