Replies: 1 comment
-
Hi @Nir-Az, It is responsibility of the user to configure correctly its Fast DDS application. Even if the message is unbounded, Fast DDS allows using Regarding the difference between I am afraid I cannot help you with your last question. You should probably test your application using both modes and see what works best for you. Probably, in a steady state, it would not matter. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to send an image throw a FastDDS writer and I get this error:
When I debug it I see that FastDDS throws
NotEnoughMemoryException
exceptionMy IDL contains
sequence<octet> raw_data;
and I am filling it with a ~2.5 [MB] dataI guess it's got to do with the
MemoryManagementPolicy
but it is not inforced.If the message is unbounded, how can FastDDS accept
PREALLOCATED_MEMORY_MODE
?Can someone please explain better the difference between
PREALLOCATED_WITH_REALLOC_MEMORY_MODE
andDYNAMIC_REUSABLE_MEMORY_MODE
?What is more efficient for streaming?
My use case is supporting streaming of different size images (user control) but once the size is chosen , it will send the same message size every time.
Thanks,
Nir
Beta Was this translation helpful? Give feedback.
All reactions