Skip to content

NotEnoughMemoryException while publishing "long" msg #187

@DorBenHarush

Description

@DorBenHarush

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions