Help Center > > User Guide> Managing an Existing Cluster> Alarm Reference> ALM-18008 Heap Memory Usage of Yarn ResourceManager Exceeds the Threshold

ALM-18008 Heap Memory Usage of Yarn ResourceManager Exceeds the Threshold

Updated at:Sep 08, 2020 GMT+08:00


The system checks the heap memory usage of Yarn ResourceManager every 30 seconds and compares the actual usage with the threshold. The alarm is generated when the heap memory usage of Yarn ResourceManager exceeds the threshold (80% of the maximum memory by default).

To change the threshold, choose System > Threshold Configuration > Service > Yarn. This alarm is cleared when the heap memory usage of Yarn ResourceManager is less than or equal to the threshold.


Alarm ID

Alarm Severity

Automatically Cleared








Specifies the service for which the alarm is generated.


Specifies the role for which the alarm is generated.


Specifies the host for which the alarm is generated.

Trigger Condition

Generates an alarm when the actual indicator value exceeds the specified threshold.

Impact on the System

Overhigh heap memory usage of the Yarn ResourceManager deteriorates Yarn task submission and running performance or even causes OOM, which results in unavailable Yarn service.

Possible Causes

The heap memory of the Yarn ResourceManager instance is overused or inappropriately allocated.


Check the heap memory usage.

  1. On the MRS cluster details page, click Alarms.

    For MRS 1.8.10 or earlier, log in to MRS Manager and click Alarms.

  2. Select the alarm whose Alarm ID is 18008. Then check the IP address and role name of the instance in Location.
  3. Choose Components > Yarn > Instances > ResourceManager > Customize > Percentage of Used Heap Memory of the ResourceManager.
  4. Check whether the used heap memory of ResourceManager reaches 80% of the maximum heap memory specified for ResourceManager.

    • If yes, go to 5.
    • If no, go to 7.

  5. Choose Components > Yarn > Service Configuration > All > ResourceManager > System. Increase the value of -Xmx in the GC_OPTS parameter as required, click Save Configuration, and select Restart the affected services or instance. Click OK to restart the role instance.
  6. Check whether the alarm is cleared.

    • If yes, no further action is required.
    • If no, go to 7.

Collect fault information.

  1. On MRS Manager, choose System > Export Log.
  2. Select the following node from the Service drop-down list and click OK.

    • NodeAgent
    • Yarn

  3. Set Start Time for log collection to 10 minutes ahead of the alarm generation time and End Time to 10 minutes behind the alarm generation time, and click Download.
  4. Contact the O&M personnel and send the collected log information.

Related Information


Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?

Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel