My Oracle Support Banner

Collection Of Logs Stop In Logging Analytics And Received Error "java.lang.OutOfMemoryError" (Doc ID 3035720.1)

Last updated on JULY 22, 2024

Applies to:

OCI Logging Analytics Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Collection of Logs happening using Management Agent. The collection was working fine but later stopped and no error message in "Agent Collection Warning".

The error message is visible in Management Agent log files:

[+] mgmt_agent_errors.log

java.lang.OutOfMemoryError: Java Heap Space
.
.
java.lang.OutOfMemoryError: GC overhead limit exceeded

OR

[+] mgmt_agent.log

[LOG.Executor.0 (LA_TASK_os_file)-157] ERROR - Critical error:
java.lang.OutOfMemoryError: Java heap space
at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:68) ~[?:1.8.0_381]
at java.lang.StringBuilder.<init>(StringBuilder.java:107) ~[?:1.8.0_381]
at com.fasterxml.jackson.core.util.TextBuffer.contentsAsString(TextBuffer.java:455) ~[jackson-core-2.14.2.jar:2.14.2]

OR

[+] mgmt_agent.log

2024-01-12 11:52:40,112 [LOG.Executor.0 (LA_TASK_os_file)-455] ERROR - Critical error:
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.lang.StringCoding.decode(StringCoding.java:215) ~[?:1.8.0_361]
at java.lang.String.<init>(String.java:463) ~[?:1.8.0_361]
at java.lang.String.<init>(String.java:515) ~[?:1.8.0_361]
at sun.nio.fs.Util.toString(Util.java:64) ~[?:1.8.0_361]

OR

[+] mgmt_agent.log

A large number of files present in the folder monitored by Management Agent.

In the below example, more than 400k files are present

2023-11-28 16:13:59,039 [LOG.Executor.0 (LA_TASK_os_file)-78] INFO - total count: 403587

 

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

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