WebLogic Server Does Not Clean the Objects in ThreadLocal Automatically (Doc ID 1929223.1)

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.

Goal

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

Solution

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