clj-python / clj-python/libpython-clj
Ways to reduce probability of memory leaks?
オープン
まだ誰も着手していません。
- 主要言語
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue にはファイル、テスト、エントリポイントが記載されていません。まず、Java 側と Python 側の間でデータを転送する長時間実行プロセスでメモリ増加を再現し、次にプロジェクトに既存のガイダンスまたは診断機能を使ってリークを特定し、検証済みの軽減策を文書化してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- clojure, java, python
- 領域
- backend, performance
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100