"java.lang.OutOfMemoryError: Metaspace" error while running the process on Agent

"java.lang.OutOfMemoryError: Metaspace" error while running the process on Agent

Error :

Sometimes we are getting below error in agent logs while running the workflow on Agent-
java.lang.OutOfMemoryError: Metaspace

Resolution-

1. Kindly close all java related applications/tools on the target machine and kill the 'java.exe' process after closing all tools/applications to release heap memory.
2. After which restart agent/PS and run the workflow. If the issue persists, then increase Java heap size with the help of the below link.

To increase Java heap size you can refer to the below link-

      Links to better reach 

            Bot Store

             EPD