Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

ModelCopyManager consumes an ever increasing amount of memory over time

オープン
#260 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
performance

調査の方向性

まず ModelCopyManager を読んで、コピーされた ID がどのようにキャッシュされるかを理解し、次に issue に記載されている ModelStore の破棄ライフサイクルを追跡します。報告されたメモリ増加を再現または調査し、ModelStore が破棄されたときに参照を削除する方法を、キャッシュのロックによるパフォーマンス上の懸念も含めて評価します。キャッシュが無期限に増加しなくなり、既存のコピー動作が正しいままであれば完了です。

索引モデルが issue の本文から書いたものです。

説明

performance

As reported by #258 - the ModelCopyManager consumes an ever increasing amount of memory due to caching the copied ID's.

One possible solution would be to implement some form of garbage collection. When a ModelStore is destroyed, it could call back to the ModelCopyManager to remove all the associated references from the cache.

Note that this approach may have some CPU performance implications due to having to lock the cache during the operation.

主要言語
Java
スター
71
フォーク
44
平均マージ
16時間 17分
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

spdx/Spdx-Java-Library のほかの issue

spdx/Spdx-Java-Library の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。