THotPDF.LoadedFontDecoderCacheMaxBytes
現在の読み込み済みドキュメントについて、解析済みフォントデコーダーが保持するメモリの推定上限を定義します
宣言
property LoadedFontDecoderCacheMaxBytes: Int64
read GetLoadedFontDecoderCacheMaxBytes
write SetLoadedFontDecoderCacheMaxBytes;
動作
- デフォルトの budget は 33554432 バイトで、キャッシュが保持するエントリも最大 128 件です
- Reducing the budget evicts least recently used entries immediately
- budget を 0 にすると保持が無効になりますが、デコーダーの要求は引き続き動作します
- 負の値は 0 に正規化されます
- Loading another document clears retained decoders and resets statistics
See also: GetLoadedFontDecoderCacheInfo, Cache Infrastructure