micro_ros_setup: NotEnoughMemoryException while publishing "long" msg
Hi, I’m trying to publish long massages (Images) with micro-ros. I received this error:
terminate called after throwing an instance of 'eprosima::fastcdr::exception::NotEnoughMemoryException' what(): Not enough memory in the buffer stream Aborted (core dumped)
I checked the meaning and according to eProsima it means that my msg buffer memory is too small.
The buffer default is very small, I tried to publish a string and got the error for string longer than 2 characters.
How can I increase the buffer size?
Regards, Dor.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 26 (12 by maintainers)
It works now with this configuration :
Thank you so much for the help.