You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Nitin Goyal (JIRA)" <ji...@apache.org> on 2015/08/08 20:20:46 UTC

[jira] [Commented] (PARQUET-353) Compressors not getting recycled while writing parquet files, causing memory leak

    [ https://issues.apache.org/jira/browse/PARQUET-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14663098#comment-14663098 ] 

Nitin Goyal commented on PARQUET-353:
-------------------------------------

PR - https://github.com/Parquet/parquet-mr/pull/445

> Compressors not getting recycled while writing parquet files, causing memory leak
> ---------------------------------------------------------------------------------
>
>                 Key: PARQUET-353
>                 URL: https://issues.apache.org/jira/browse/PARQUET-353
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>    Affects Versions: 1.6.0, 1.7.0, 1.8.0
>            Reporter: Nitin Goyal
>
> Compressors are not getting recycled while writing parquet files. This is causing native/physical memory leak in my spark app which is parquet write intensive since its creating new compressors everytime i write parquet files.
> The actual code issue is that we are creating 'codecFactory' in 'getRecordWriter' method of ParquetOutputFormat.java but not calling codecFactory.release() which is responsible for recycling compressors.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)