When the Java API is used with DataReaders using generated type-plugins, Connext DDS allocates a Java buffer per DataReader; this buffer is used to copy the native serialized data, so that the received DDS samples can be deserialized into the Java objects obtained from the DDS sample pool in Figure 22.3: Adding DDS Samples to DataReader’s Queue .
You can use the DataReader properties in Table 22.2 DDS Sample-Data Memory Management Properties for DataReaders when Using Java API to control memory allocation for the Java buffer used for deserialization:
© 2020 RTI