Teamcenter The TcRA instance is failing frequently due to heap memory space error

2022-08-20T05:30:32Z
Reporting and Analytics

Summary


Details

The TcRA instance is failing frequently due to heap memory space error. Every time we need to restart the Tomcat application. No error in the validation report related to the memory because the JAVA_OPTS variable is set as per the documentation

Following errors can be seen 

Exception in thread "Timer-0" 2022-06-17 13:48:57,332 java.lang.OutOfMemoryError: Java heap space

Exception in thread "pool-n-thread-nn" 2022-06-17 13:48:57,332 Exception in thread "pool-n-thread-nn" 2022-06-17 13:48:57,332 Exception in thread "pool-7-thread-18" 2022-06-17 13:48:57,332 java.lang.OutOfMemoryError: Java heap space

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread

Solution

Check the RAM available on the machine 

If it is windows/linux, you can get more information 

https://www.avast.com/c-how-to-check-ram-memory

https://qualitestgroup.com/insights/technical-hub/how-to-find-the-physical-memory-available-on-a-system-through-the-command-line/

Also based on the available memory make the calculation for the RAM using deployment guide and set the environment variable accordingly

Below is an example of it


KB Article ID# PL8666598

Contents

SummaryDetails

Associated Components

Reporting and Analytics