You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Steve Yurong Su (Jira)" <ji...@apache.org> on 2021/11/26 02:43:00 UTC

[jira] [Created] (IOTDB-2062) UDF Framework: Potential Memory Leak in MultiInputColumnIntermediateLayer

Steve Yurong Su created IOTDB-2062:
--------------------------------------

             Summary: UDF Framework: Potential Memory Leak in MultiInputColumnIntermediateLayer
                 Key: IOTDB-2062
                 URL: https://issues.apache.org/jira/browse/IOTDB-2062
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Query
            Reporter: Steve Yurong Su
            Assignee: Steve Yurong Su
             Fix For: master branch
         Attachments: image-2021-11-26-10-25-51-716.png, image-2021-11-26-10-26-45-610.png

The variable rowRecordList in  MultiInputColumnIntermediateLayer#constructRowSlidingSizeWindowReader() and  MultiInputColumnIntermediateLayer#constructRowSlidingTimeWindowReader() will materialize all iteration data until the end of the query, which may trigger useless memory control actions (resulting in meaningless file IO).

 

It's obviously a bug and results in low query throughput when query data is large.

 

!image-2021-11-26-10-25-51-716.png|width=662,height=539!

!image-2021-11-26-10-26-45-610.png|width=680,height=527!

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)