Unexpected exception/error returned to client: java.lang.OutOfMemoryError: GC overhead limit exceeded
search cancel

Unexpected exception/error returned to client: java.lang.OutOfMemoryError: GC overhead limit exceeded

book

Article ID: 210607

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

Unable to login to AAI. In the log file the following errors are seen:

2021-03-15 10:12:06,290 WARN  [RequestScopeEJB3Interceptor] Unexpected exception/error returned to client: java.lang.OutOfMemoryError: GC overhead limit exceeded

2021-03-15 10:12:06,386 INFO  [JawsException] Exception returned to the client: com.termalabs.common.JawsException: java.lang.OutOfMemoryError: GC overhead limit exceeded
2021-03-15 10:12:06,389 WARN  [RequestScopeEJB3Interceptor] Unexpected exception/error returned to client: java.lang.OutOfMemoryError: GC overhead limit exceeded

2021-03-15 10:12:06,389 WARN  [RequestScopeEJB3Interceptor] Unexpected exception/error returned to client: java.lang.OutOfMemoryError: GC overhead limit exceeded

2021-03-15 10:12:06,389 WARN  [RequestScopeEJB3Interceptor] Unexpected exception/error returned to client: java.lang.OutOfMemoryError: GC overhead limit exceeded

Resolution

Issue can be resolved for short term by restarting AAI.

To prevent this from happening in the future additional Java heap space will need to be added to AAI. There is no set amount of heap space to define but you can try increasing the amount incrementally until the error is no longer observed. 

1. Edit jaws server.exe.vmoptions file Windows or jaws.sh.vmoptions on linux

2. Increase -Xmx option 

3. Restart AAI