It's coming from FastRTPS underneath; from perusing their code it looks to only be output if you're using `PREALLOCATED_MEMORY_MODE` for the memory policy (e.g. [here](
https://github.com/eProsima/Fast-RTPS/blob/f16b8f365c44aa76066b35004e84e9a352949d8c/src/cpp/rtps/history/WriterHistory.cpp#L61)).
In `rmw_fastrtps_cpp`, the memory policy is explicitly set to `PREALLOCATED_WITH_REALLOC_MEMORY_MODE` (e.g. [here](
https://github.com/ros2/rmw_fastrtps/blob/a6ac02905c55118fb1da636f85c8197dde8ef58e/rmw_fastrtps_cpp/src/rmw_publisher.cpp#L99)). Are you customising the publisher/subscriber parameters yourself somehow? If so you'll have to tweak some additional properties of the history cache.
---
[Visit Topic](
https://discourse.ros.org/t/payload-size-error-with-fastrtps/2815/2) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>