WebLogic Server Does Not Clean the Objects in ThreadLocal Automatically
(Doc ID 1929223.1)
Last updated on MAY 18, 2021
Applies to:Oracle WebLogic Server - Version 10.3.5 and later
Information in this document applies to any platform.
WebLogic Server does not clean the objects set in ThreadLocal after a thread execution has completed. This causes a memory leak.
Below is a example of memory leak using the Eclipse Memory Analysis Tool (MAT):
1. Right click on the suspicious leaking object -> Path To GC -> With All Reference
2. The object is referred by the ThreadLocal object of ExecuteThread '19'
3. ExecuteThread '19' is not working on any request. It is idle.
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