Having errors 500 or 503 while connecting and browsing Clarity application, when checking the logs we can see the following error message on any action:
ERROR 2020-05-17 08:35:00,639 [http-8080-2] union.service
java.lang.OutOfMemoryError: PermGen space
Release: Any, any Supported releases on Java
The cause for this error is the fact that the PermGen memory was not enough for the current application usage. This can make the application running out of memory on certain portlets.
Please note that the default amount will depend on the exact Clarity version. This information will be available in the corresponding Installation Guide for the exact version.