My Oracle Support Banner

EM 13C: Generating The Target Auto Discovery Diagnostic Details log From The EM Console Fails With The Error "java.lang.OutOfMemoryError: Java heap space" (Doc ID 3045468.1)

Last updated on SEPTEMBER 16, 2024

Applies to:

Enterprise Manager Base Platform - Version 13.5.0.0.0 and later
Information in this document applies to any platform.

Symptoms

From EM console we have an option to check target discovery log from Agent using below navigation :

Setup > Add Target > Configure Auto Discovery > Select host > Diagnostic Details > Oracle Database, Listener and Automatic Storage Management > Log from Agent

While retrieving the Logs from agent, page is hangs servers and gives error after few minut "java.lang.OutOfMemoryError: Java heap space"

 

OMS logs during time of issue showing error details : <OMS_INST_DIR>/em/sysman/log/emoms.log

2023-12-07 14:44:41,494 [[ACTIVE] ExecuteThread: '25' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN errPopup.ErrorPopupUtil logp.251 - Java heap space https://<HOSTNAME>:<PORT>/em/faces/discovery-errors-taskflow/errorsOnHost?Adf-Window-Id=jaocwxx7o&Adf-Page-Id=2 REQUEST_METHOD: POST View Id: /discovery-errors-taskflow/errorsOnHost
javax.el.ELException: java.lang.OutOfMemoryError: Java heap space
at com.sun.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:187) ~[org.glassfish.javax.el.jar:3.0.1-b11]
at com.sun.el.parser.AstValue.invoke(AstValue.java:289) ~[org.glassfish.javax.el.jar:3.0.1-b11]
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304) ~[org.glassfish.javax.el.jar:3.0.1-b11]
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:2072) ~[trinidad-api.jar:2.1.1 (custom: 12.2.1.4.42.190911.2248)]
at org.apache.myfaces.trinidad.component.UIXPoll.broadcast(UIXPoll.java:98) ~[trinidad-api.jar:2.1.1 (custom: 12.2.1.4.42.190911.2248)]

Caused by: java.lang.OutOfMemoryError: Java heap space
2023-12-07 14:49:27,808 [[ACTIVE] ExecuteThread: '104' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN errPopup.ErrorPopupUtil logp.251 - Java heap space https://<HOSTNAME>:<PORT>/em/faces/discovery-errors-taskflow/errorsOnHost?Adf-Window-Id=jaocwxx7o&Adf-Page-Id=2 REQUEST_METHOD: POST View Id: /discovery-errors-taskflow/errorsOnHost
javax.el.ELException: java.lang.OutOfMemoryError: Java heap space

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.