Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6838

Query with Runtime Filter fails with IllegalStateException: Memory was leaked by query

    XMLWordPrintableJSON

    Details

      Description

      When running TPC-H queries with Runtime Filter feature enabled on DRILL 1.15.0 SNAPSHOT, I saw failures with following error:

      Error: SYSTEM ERROR: IllegalStateException: Memory was leaked by query. Memory leaked: (1048576)
      Allocator(frag:5:38) 6000000/1048576/77833920/50062914560 (res/actual/peak/limit)
      
      
      Fragment 5:38
      
      Please, refer to logs for more information.
      
      [Error Id: 2ca07049-ac92-4944-929c-16f261e43f7e on qa-node185.qa.lab:31010] (state=,code=0)
      
      

      The failure is observed when the query has nested joins. (TPC-H query 7 can easily reproduce the issue). I have attached logs for a simpler sample query that fails.

       

       

       

        Attachments

        1. RuntimeFilterMemoryLeak.log
          749 kB
          Abhishek Ravi

          Issue Links

            Activity

              People

              • Assignee:
                weijie weijie.tong
                Reporter:
                aravi5 Abhishek Ravi
                Reviewer:
                Sorabh Hamirwasia
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: