Open binary-husky opened 1 year ago
The value of 8*1024*1024
is nothing special in the library. It specifies the size of a single element in the circular buffer, while the buffer size is 255. This means that the total buffer size will be data_length*255
, and 8M means the buffer will take up about 2GB of memory. Therefore, you need to check your device to see if the memory is large enough.
I'm trying to achieve large message ping-pong between 2 processes, but when I set
data_length=8*1024*1024
, I get struct insiderecv
calldata_length=7*1024*1024
--> okdata_length=8*1024*1024
--> faildata_length=16*1024*1024
--> failI'm trying to implement one side on C++ and the other side on python with pybind11, thereby I'm having trouble to get a traceback, is
8*1024*1024
special in cpp-ipc?