WebLogic Server Does Not Clean the Objects in ThreadLocal Automatically
Last updated on NOVEMBER 05, 2016
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms