You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sebastian Violet (Jira)" <ji...@apache.org> on 2023/10/25 07:00:00 UTC

[jira] [Created] (CXF-8950) HttpClient in CXF closing prematurely; 4.0.4-SNAPSHOT

Sebastian Violet created CXF-8950:
-------------------------------------

             Summary: HttpClient in CXF closing prematurely; 4.0.4-SNAPSHOT
                 Key: CXF-8950
                 URL: https://issues.apache.org/jira/browse/CXF-8950
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 4.0.3
            Reporter: Sebastian Violet
            Assignee: Daniel Kulp
             Fix For: 3.6.3, 4.0.4


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)