[
https://issues.apache.org/jira/browse/SPARK-60098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chao Sun resolved SPARK-60098.
------------------------------
Fix Version/s: 5.0.0
Resolution: Fixed
Issue resolved by pull request 59657
[https://github.com/apache/spark/pull/59657]
> 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
> Assignee: Filipe Oliveira
> Priority: Minor
> Labels: pull-request-available
> Fix For: 5.0.0
>
>
> https://issues.apache.org/jira/browse/SPARK-34863 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
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]