THotPDF.LoadedFontDecoderCacheMaxBytes
حداکثر حافظهٔ تخمینی را که decoderهای parseشدهٔ فونت برای سند بارگذاریشدهٔ جاری نگه میدارند تعیین میکند
اعلان
property LoadedFontDecoderCacheMaxBytes: Int64
read GetLoadedFontDecoderCacheMaxBytes
write SetLoadedFontDecoderCacheMaxBytes;
رفتار
- بودجهٔ پیشفرض 33554432 بایت است و cache حداکثر 128 ورودی نگه میدارد
- Reducing the budget evicts least recently used entries immediately
- صفر کردن بودجه نگهداری را غیرفعال میکند، ولی درخواستهای decoder همچنان کار میکنند
- مقدارهای منفی به صفر نرمال میشوند
- Loading another document clears retained decoders and resets statistics
See also: GetLoadedFontDecoderCacheInfo, Cache Infrastructure