set_MaxBlobsBytesInMemory()

IBlobManagementOptions::set_MaxBlobsBytesInMemory(uint64_t) method

Defines the maximum total size (in bytes) that all BLOBs may occupy in memory. By default, all BLOBs are loaded into memory; only once this limit is reached are alternative mechanisms (such as temporary files) employed. Keeping BLOBs in memory maximizes performance but can lead to high memory usage. Use this property to tailor behavior to your environment or requirements.

virtual void Aspose::Slides::IBlobManagementOptions::set_MaxBlobsBytesInMemory(uint64_t value)=0

Remarks

This value is ignored if IBlobManagementOptions::set_IsTemporaryFilesAllowed is set to false, since memory is then the only storage location available and limiting in-memory BLOB usage has no effect.

The default value is 629,145,600 bytes (600 MB).

You may set this property to zero, but a small minimum amount of memory will still be reserved.

See Also