Replies: 2 comments 8 replies
-
@kozakusek You are right this is an unpleasant and I think also technical unnecessary restriction. We never encountered a use case where we required more than 4GB so we never paid attention to this restriction, but we most certainly can lift this (with the little constraint that there is maybe an unlikely restriction that this would cause a bigger refactoring). Is this something that blocks you right now? And would you be free to explain roughly your use case so that we also learn something new we did not yet have on our radar. |
Beta Was this translation helpful? Give feedback.
-
FWIW I've had no issue configuring a memory pool to support more than 4GB. I did uncover a bug in the process, but the bug was fixed and everything should work now. And it looks like this isn't exactly your issue. I surmise the maximum value comes from here: https://github.com/eclipse-iceoryx/iceoryx/blob/master/iceoryx_posh/include/iceoryx_posh/internal/mepoo/memory_manager.hpp#L49 The reason you encounter the failure is not that the memory pool is greater than 4GB, but because the chunk payload size is greater than 4GB (minus some chunk header overhead). So the question is what would need to be done to support chunk sizes greater than 4GB, and perhaps increase this size limit to |
Beta Was this translation helpful? Give feedback.
-
When trying to start RouDi with a 4GB segment.mempool I encountered an unpleasant error:
Then after reading into the source code I noticed that in many cases (e.g.
iox_pub_loan_chunk
) the variable that refers to size is of typeuint32_t
.Is there a reason for this limitation? Are you planning to add support for bigger memory chunks by adding option to hold size in 64bit integers?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions