22.1.3 Writer-Side Memory Management when Using Java

When the Java API is used, Connext DDS allocates a Java buffer per DataWriter; this buffer is used to serialize the Java DDS samples published by the DataWriters. After a DDS sample is serialized into a Java buffer, the result is copied into the underlying native buffer described in 22.1.1 Memory Management without Batching and 22.1.2 Memory Management with Batching .

You can use the following two DataWriter properties to control memory allocation for the Java buffers that are used for serialization (see Table 22.1 DDS Sample-Data Memory Management Properties for DataWriters):

© 2020 RTI