GetMemoryBudget

Performance, document management

Description

Returns the instance defaults for decoded-stream storage and compressed object-stream caching

Syntax

Delphi

Function TPDFlib.GetMemoryBudget(Out MaxDecodedStreamSize: Int64; Out ObjectStreamCacheSize: Integer; Out ObjectStreamCacheMaxBytes: Int64): Integer;

Parameters

MaxDecodedStreamSizeReceives the maximum decoded stream bytes retained in memory
ObjectStreamCacheSizeReceives the configured entry limit, where 0 selects the default of 50
ObjectStreamCacheMaxBytesReceives the decoded object-stream byte budget per document, where 0 means unlimited

Return values

1The configured budgets were returned