You are here: Part 3: Advanced Concepts > DDS Sample-Data and Instance-Data Memory Management > Instance-Data Memory Management for DataWriters

Instance-Data Memory Management for DataWriters

When an instance is registered with a DataWriter, the DataWriter serializes the key value and stores it with the instance.

Each instance maintained by the DataWriter has an associated buffer in which the DataWriter serializes the key. This buffer is either:

See .

Instance-Data Memory Management Properties for DataWriters

Property

Description

dds.data_writer.
history.memory_manager.
fast_pool.pool_buffer_max_size

Controls the memory allocation for the serialized key buffer that is stored with every instance.

Default: -1 (UNLIMITED). All DDS sample buffers are obtained from the pre-allocated pool. The buffer size is the maximum serialized size of the DDS samples, as returned by the type plugin get_serialized_sample_max_size() operation.

Note: This property also controls DDS sample-data memory management. See DDS Sample-Data Memory Management for DataWriters.

© 2016 RTI