You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vyacheslav Koptilin (Jira)" <ji...@apache.org> on 2021/12/20 11:41:00 UTC
[jira] [Created] (IGNITE-16161) Memory leak in BaseQueryContext
Vyacheslav Koptilin created IGNITE-16161:
--------------------------------------------
Summary: Memory leak in BaseQueryContext
Key: IGNITE-16161
URL: https://issues.apache.org/jira/browse/IGNITE-16161
Project: Ignite
Issue Type: Bug
Affects Versions: 3.0.0-alpha3
Reporter: Vyacheslav Koptilin
Attachments: image-2021-12-20-14-37-02-163.png
BaseQueryContext contains a number of static fields that are used in order to store references to internal classes. For example, BaseQueryContext.CLUSTER which indirectly refers to ignite tables (TableImpl instances). Unfortunately, these references are not cleared even though the corresponding ignite node is stopped.
The following trace based on a heap dump illustrates the issue:
!image-2021-12-20-14-37-02-163.png!
This issue can be partially mitigated by clearing ring buffers in StripedDisruptor, but the right way to fix the issue is a proper approach to handle static collections in BaseQueryContext.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)