My Oracle Support Banner

WebLogic : JAX-WS Memory Leak in Endpointcreationinterceptorfeature Serverlateinittube (Doc ID 1303769.1)

Last updated on SEPTEMBER 25, 2020

Applies to:

Oracle WebLogic Server - Version 10.3.1 to 10.3.5
Information in this document applies to any platform.


Memory leak found in WebLogic 10.3.2’s JAX-WS implementation. The EndpointCreationInterceptorFeature's HashSet<ServerLateInitTube> grows unbounded proportional to the number of requests an endpoint services. For example, after running ~30,000 requests through a service and then performing many manual garbage collections thereafter, there were still ~5,000 ServerLateInitTube instances in memory. The use of JAX-WS handlers exacerbates the problem as each ServerLateInitTube holds onto a response that it has serviced. In some cases, this response has been as large as 5MB.

Example trace of a thread running at 100% CPU.

Stack Trace
[STUCK] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'
java.util.HashMap.put line: 456
java.util.HashSet.add line: 200
weblogic.wsee.jaxws.ServerLateInitTube.initializeCopy line: 56
weblogic.wsee.jaxws.ServerLateInitTube.copy line: 45
weblogic.wsee.jaxws.ServerLateInitTube.copy line: 24 line: 102 line: 74$2.<init> line: 237 line: 236$Toolkit.<init> line: 103$HttpToolkit.<init> line: 433 line: 203 line: 99$1.create line: 112$1.create line: 110 line: 78 line: 248 line: 140 line: 129 line: 160 line: 103
javax.servlet.http.HttpServlet.service line: 727
javax.servlet.http.HttpServlet.service line: 820
weblogic.servlet.internal.StubSecurityHelper$ line: 227
weblogic.servlet.internal.StubSecurityHelper.invokeServlet line: 125
weblogic.servlet.internal.ServletStubImpl.execute line: 292
weblogic.servlet.internal.ServletStubImpl.execute line: 175
weblogic.servlet.internal.WebAppServletContext$ line: 3590 line: 321 line: 121
weblogic.servlet.internal.WebAppServletContext.securedExecute line: 2200
weblogic.servlet.internal.WebAppServletContext.execute line: 2106 line: 1428 line: 201 line: 173




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

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