apache / apache/parquet-java

Snappy Compression: Optimize DirectBuffer handling/release

未关闭
#1,718 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Component: Java Component: Parquet Priority: Minor Type: enhancement
主要语言
Java
星标
3.1k
派生
1.6k
平均合并
3 天 12 小时
30 天内合并 PR
33

描述

The snappy compressor keeps buffers around even when they are not actively being used. When the buffer size is large this can lead to a lot of unneeded memory overhead.

**Reporter**: [Dale Richardson](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=tigerquoll) / @tigerquoll

**Note**: *This issue was originally created as [PARQUET-167](https://issues.apache.org/jira/browse/PARQUET-167). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

贡献指南

这个仓库没有索引到贡献指南

调研方向

Issue 未提及任何文件或测试。首先定位 Snappy 压缩器及其 DirectBuffer 分配和释放路径,然后跟踪缓冲区在不活动时仍被保留的时机。完成标准是:在不破坏压缩行为的情况下释放不活动的大型缓冲区;如果项目有相关测试,则为该生命周期添加或更新覆盖。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
performance
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。