forked from oist/optinist
-
Notifications
You must be signed in to change notification settings - Fork 4
Labels
backendbugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Milestone
Description
内容
画像処理時のメモリ負荷軽減に向けた対策の検討です。現在、以下の2つのタスクにおいてメモリ使用量の課題があります。
対応が必要なタスク
- Workflow解析実行時におけるメモリ消費の問題
- 画像再生(Play)処理時のメモリ負荷の問題
これらの処理は、大量のデータを扱うためメモリへの負担が大きく、
パフォーマンス低下やクラッシュの原因となる可能性があります。そのため、メモリ効率を改善する仕組みの導入が必要です。
例えば:
遅延読み込みが実装されていると記載しているが、実際には全データをRAMに読み込んでいる様子
入力動画に対してimageio.volreadを使用している場合、これはデフォルトですべてをRAMに読み込む:
https://imageio.readthedocs.io/en/v2.15.0/_autosummary/imageio.volread.html
ドキュメントに大きな動画ファイルの制限について記載する必要がある
可能であれば、本当の遅延読み込み(numpy.memmap、dask、zarrなど)を実装する
Sub-issues
Metadata
Metadata
Assignees
Labels
backendbugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation