[Windows] Embedded Python Memory Leaks #96853 ( Corrected 98%), Need testing
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
説明
Hi Python team,
I detected python memory leaks when using it embedded on windows platform, unfortunately the issue I opened was closed.
I decided to correct the issue (though it is not 100% corrected), python now returns most of the memory it takes when finished.
I need test to be done with the modifications I did, especially if it requires any modifications for Unix based systems:
pylifecycle.c --> call function ____Py_ArenaMemoryRelease
obmalloc.c --> Define function ____Py_ArenaMemoryRelease pluss the trackig of memory allocations and releases
Pelase, test it and let me know.
Thanks you all
@AlexSoft73
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず pylifecycle.c と obmalloc.c を確認し、提案されている __Py_ArenaMemoryRelease の呼び出しと、割り当ての追跡に注目します。Windows 上で組み込み Python のメモリリークの挙動を再現し、その後、変更が Unix ベースのシステムに影響するかどうかを確認します。リークが特定され、メモリがリグレッションなしに解放されることをテストで確認できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- operating-systems, performance
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100