/
メモリ開放漏れ
メモリ開放漏れ
Updated:Mar 8, 2022
質問
SDKの使用上、メモリ開放漏れに関して注意すべき点はあるか。
回答
以下をご確認ください。
ADAM APIにはADAM_xxxx_Create()、ADAM_xxxx_Add()という名前のAPI(xxxxはワイルドカード)があります。
これらは、対となるADAM_xxxx_Delete()、ADAM_xxxx_Remove()が実行されるまで、その機能用のメモリを確保し続けます。
連続動作において、例えば定常的にADAM_xxxx_Add()しているような処理がある場合は、ADAM_xxxx_Remove()できているかを確認する必要があります。
AdamAppで利用可能なメモリ量は、下記をご参照ください。
https://dev-partner.i-pro.com/space/TPFAQ/694780048
メモリリーク等で制限に到達すると、アプリが強制終了されます。
Related content
OpenCVとADAMAPIの画像処理の違い
OpenCVとADAMAPIの画像処理の違い
Read with this
Memory release failure
Memory release failure
More like this
How much memory does the AI Scene Change learning process use on the SD memory card?
How much memory does the AI Scene Change learning process use on the SD memory card?
More like this