Filipe Oliveira created SPARK-60098:
---------------------------------------

             Summary: Memory leaks in ParquetColumnVector
                 Key: SPARK-60098
                 URL: https://issues.apache.org/jira/browse/SPARK-60098
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.3.0
            Reporter: Filipe Oliveira


 introduced the ParquetColumnVector class and alongside it 2 column vectors: 
`repetitionLevels` and `definitionLevels`. These vectors are allocated by the 
class but never closed.

 

Meanwhile, other PRs have changed this class and also allocated column vectors 
but did not close them:
 * [https://github.com/apache/spark/pull/52557]
 * [https://github.com/apache/spark/pull/48851]

 

When using OFF_HEAP mode these vectors will lead to memory leaks.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to