ContentsIndexHome
PreviousUpNext
IConfig::setMaxBufferSize Method

Sets the maximum amount of memory (in bytes) the buffers of IData instances can reserve before all data is automatically flushed. The default is 32 MB. 

 

C++
virtual void setMaxBufferSize(int MaxBufferSize) = 0;
Parameters 
Description 
int MaxBufferSize 
The MaxBufferSize in bytes.The minimum required is 5 KB. The max buffer size cannot be smaller than the max transmit size.
 

The maximum buffer size should be greater than the maximum transmit size.

See also the Tuning configuration settings topic in the Using the SDK section for a more elaborate discussion on this topic.