You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Bo Zhang (Jira)" <ji...@apache.org> on 2022/10/27 07:17:00 UTC
[jira] [Commented] (IOTDB-4773) New session trigger memory-leak
[ https://issues.apache.org/jira/browse/IOTDB-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17624901#comment-17624901 ]
Bo Zhang commented on IOTDB-4773:
---------------------------------
After analysis, we found that during openSession/closeSession, IoTDB's class SessionManager has bug.
It will add new SessionInfo to Map(SessionManager#sessionIdToSessionInfo) but never remove them.
So this causes memory-leak.
> New session trigger memory-leak
> -------------------------------
>
> Key: IOTDB-4773
> URL: https://issues.apache.org/jira/browse/IOTDB-4773
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Core/Engine
> Reporter: Bo Zhang
> Assignee: Bo Zhang
> Priority: Critical
> Labels: pull-request-available
> Fix For: master branch
>
>
> In 1 stability testing, we found that :
> # IoTDB server will often reboot because server occupies too much memory。
> # And we also found that too much openSession/closeSession msg.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)