Alert showed java.lang.OutOfMemoryError in the app-system.log file.
Upon checking the heap dump we could see low memory usage and nothing out of ordinary. This is not a heap space issue but metaspace issue.
Error from the system log:
2019/02/21 08:23:23.414 | java.lang.OutOfMemoryError: Metaspace
Release: 15.4.1