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
| MaxDecodedStreamSize | Receives the maximum decoded stream bytes retained in memory |
|---|---|
| ObjectStreamCacheSize | Receives the configured entry limit, where 0 selects the default of 50 |
| ObjectStreamCacheMaxBytes | Receives the decoded object-stream byte budget per document, where 0 means unlimited |
Return values
| 1 | The configured budgets were returned |
|---|