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/18 21:38:00 UTC
[jira] [Created] (CXF-8946) HttpClient in CXF causing memory leak
Sebastian Violet created CXF-8946:
-------------------------------------
Summary: 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
Attachments: CXF-HTTPClient-MemoryLeak.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 `@Async` .
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:
```
mvn compile exec:exec
```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)