Allocate message on Shared Memory

74 views
Skip to first unread message

Ron Potashnik

unread,
Feb 9, 2023, 2:52:19 AM2/9/23
to Protocol Buffers
Hi,

My goal is to build an application that communicates between two processes using ProtoBuff messages over shared memory.
Using ArenaOptions with ProtoBuff Arena, I created a Shared Memory Arena.

In my message, I want to use strings, and I can't find a way to have the ProtoBuff allocate large strings over Shared Memory rather than Heap.

Is there any way I can do that?
Reply all
Reply to author
Forward
0 new messages