HeapLowSpringBoot

Level: Critical FIXME

Purpose: Identify when one of the Errigal Spring Boot Applications is using an excessive amount of heap memory for a defined duration of time.

Scenario: Userprofile is reporting high heap. This could be caused by a number of things, including excessive user activity/updates.

Resolution: Monitor to see if heap usage is reducing. If not and it becomes evident that the application will run out of memory, perform a restart of the application.

Manual Action Steps:
Script Based Restart

Spring boot apps generally run as a service

sudo service userprofile restart

Ansible Based Restart

ansible-playbook -i ../env-configuration/${env}/hosts.ini --diff --vault-id @prompt userprofile.yml -e "actions='stop,start'" --limit $appHandler

Auto Clear: Yes