IBM Support

Content Engine may encounter Out Of Memory exception with WebLogic if JDBC logging is enabled

Troubleshooting


Problem

With JDBC tracing parameter set to true (i.e., set to "true" in the config.xml), the JVM hosting Content Engine may encounter an "Out Of Memory" exception. NOTE: This issue could also be observed with WebLogic 10.x (as well as 9.x)

Symptom

If you examine the WebLogic application server log or the Content Engine error/trace logs, you'll see an "Out Of Memory" exception with a stack similar to the example below:

Caused by: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 1073741840, Num elements: 1073741824
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:70)
at weblogic.logging.LoggingOutputStream.write(LoggingOutputStream.java:45)
at java.io.OutputStream.write(OutputStream.java:98)
at java.io.PrintStream.write(PrintStream.java:413)
at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395)
at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
at java.io.OutputStreamWriter.write(OutputStreamWriter.java:192)
...
...

From the stack, you can see that WebLogic logging it trying to allocate 1GB (1073741824 bytes) of heap memory, thus causing the Out Of Memory exception.

[{"Product":{"code":"SSNVNV","label":"FileNet Content Manager"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Content Engine","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"4.0.0;4.0.1;4.5;4.5.0;4.5.1","Edition":"All Editions","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
28 April 2025

UID

swg21431108