You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2020/03/05 14:48:00 UTC
[jira] [Created] (KARAF-6629) Memory leak in elasticsearch rest
appender
Jean-Baptiste Onofré created KARAF-6629:
-------------------------------------------
Summary: Memory leak in elasticsearch rest appender
Key: KARAF-6629
URL: https://issues.apache.org/jira/browse/KARAF-6629
Project: Karaf
Issue Type: Bug
Components: decanter
Affects Versions: decanter-2.2.0
Reporter: Jean-Baptiste Onofré
Assignee: Francois Papon
Fix For: decanter-2.3.0
The elasticsearch rest appender sends data to elasticsearch with a refresh triggered:
{code:java}
client.performRequest("POST", endpoint, Collections.singletonMap("refresh", "true"), request); {code}
The problem is that the refresh result is cached in the Elasticsearch REST client, causing a bunch of useless HashMap.
The "auto-refresh" is not needed anymore and should be removed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)