clj-python / clj-python/libpython-clj
Ways to reduce probability of memory leaks?
未关闭
还没有人认领这个 Issue。
- 主要语言
- Clojure
- 星标
- 1.2k
- 派生
- 74
- PR 合并指标
- 30 天内没有已合并 PR
描述
We have a long-running process that uses libpython-clj as a bridge between Java and Python code.
We've noticed that we seem to be for some reason, leaking memory just a tiny bit. This is enough to cause issues when the processes are run for multiple weeks/months on end.
Is there some good practices to transfer data between the Python and Java sides with minimal probability of leaking? What would be the ways to figure out what is causing the leaks?
Thank you!
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 未指明任何文件、测试或入口点。首先,在一个在 Java 端与 Python 端之间传输数据的长时间运行进程中复现内存增长,然后使用项目现有的指南或诊断工具来识别泄漏,并记录经过验证的缓解措施。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- clojure, java, python
- 领域
- backend, performance
- Issue 类型
- 缺陷
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100