cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giovanni Borelli (JIRA)" <>
Subject [jira] [Commented] (CXF-6632) Memory leak due to literal keys in WSDLDefinition map
Date Fri, 09 Oct 2015 13:43:28 GMT


Giovanni Borelli commented on CXF-6632:

I totally agree with you, my "fix" is just a proof of concept that I am using to prevent the
production environment to crash every 10 minutes because of an OutOfMemory Exception.

> Memory leak due to literal keys in WSDLDefinition map
> -----------------------------------------------------
>                 Key: CXF-6632
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.7.17
>            Reporter: Giovanni Borelli
>            Assignee: Bharath Ganesh
> Looks like the definitionsMap in WSDLManagerImpl holds the WSDLDefinitions against a
weak key, again relying
> on the WeakHashMap semantics for removal.
> The loadDefinition(String) method loads the WSDLDef and puts this in a map
> against a String key even if it was passed as a URL through getDefinition(URL). 
> Like the this causes a memory leak.

This message was sent by Atlassian JIRA

View raw message