[ https://issues.apache.org/jira/browse/CXF-8946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17776942#comment-17776942 ]
Sebastian Violet commented on CXF-8946: --------------------------------------- Here is a repo as close to the setting we have on your server: [^memory-leak-demo.zip] > HttpClient in CXF causing memory leak > ------------------------------------- > > Key: CXF-8946 > URL: https://issues.apache.org/jira/browse/CXF-8946 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 4.0.3 > Reporter: Sebastian Violet > Priority: Major > Attachments: CXF-HTTPClient-MemoryLeak.zip, java_pid17394.hprof.zip, > java_pid17394_Leak_Suspects.zip > > > When processing requests using the JAX RS client which used the new > HttpClient, there is a memory leak. > We found this when running it in spring boot using > {code:java} > @Async{code} > > I have tried to reproduce it using the attached code, and it seems to work > with a low heap size. > > You can execute the code like so: > {code:java} > mvn compile exec:exec{code} -- This message was sent by Atlassian Jira (v8.20.10#820010)