My Oracle Support Banner

Troubleshooting Memory leak OutOfMemoryErrors in UCM 11g Using JRockit Flight Recorder (Doc ID 1337135.1)

Last updated on JULY 31, 2018

Applies to:

Oracle WebCenter Content - Version 11.1.1.3.0 and later
Information in this document applies to any platform.
***Checked for relevance on 18-December-2013***

Goal

If OutOfMemory errors in UCM 11g appear in the log files or system output, a memory leak may be occurring. These errors can cause UCM performance to come to a halt.  This note contains steps for troubleshooting memory leak issues using JRockit Flight Recorder.  If using the Sun JVM, VisualVM can be used, as described in the following note.

<Note.950621.1> - Use VisualVM Tools to Troubleshoot UCM and Observe Performance Problems Occurring in Java Virtual Machine  

<Note.960595.1> - Example of How To Troubleshoot a Memory Leak in UCM Custom Component Using VisualVM


OOM errors in 11g appear in the log file or server output:

java.lang.OutOfMemoryError: getNewTla. [ Details ]
An error has occurred. The stack trace below shows more information.

!csSubjectMonitorStop!syJavaExceptionWrapper,java.lang.OutOfMemoryError: getNewTla
java.lang.OutOfMemoryError: getNewTla
at intradoc.common.FileUtilsLockDirectory.retrieveAndClearLockData(FileUtilsLockDirectory.java:815)
at intradoc.common.FileUtilsLockDirectory.releaseDirectoryImplement(FileUtilsLockDirectory.java:728)
at intradoc.common.FileUtils.releaseDirectory(FileUtils.java:249)
at intradoc.server.SubjectManager.checkForChange(SubjectManager.java:216)
at intradoc.server.SubjectManager.monitor(SubjectManager.java:166)
at intradoc.server.SubjectManager$1.run(SubjectManager.java:120)
at java.lang.Thread.run(Thread.java:619)





The error may also appear in a simpler form:

Stopping background monitoring of subjects. Exception type is 'java.lang.OutOfMemoryError'. [ Details ]
An error has occurred. The stack trace below shows more information.

!csSubjectMonitorStop!syExceptionType,java.lang.OutOfMemoryError
java.lang.OutOfMemoryError

Solution

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
Goal
Solution
 Determine the Process ID of UCM 11g Content Server
 Start JRockit Mission Control
 Start Flight Recording
 Matching the OutOfMemory error to the Spike in the Flight Recording
 
Inspecting the Custom Component for causes of the Memory Leak
 Still have questions?
References

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