Open yunwei37 opened 3 months ago
Is your feature request related to a problem? Please describe.
See #308. When the shared memory is full, the eBPF application cannot alloc new eBPF maps or load eBPF programs. A bad_alloc error will be raised.
It can be solve by using flag to pre-alloc a larger memory, but a dynamic grow memory would be better
Describe the solution you'd like
We can use the boost api grow to dynamic alloc more memory.
grow
Is your feature request related to a problem? Please describe.
See #308. When the shared memory is full, the eBPF application cannot alloc new eBPF maps or load eBPF programs. A bad_alloc error will be raised.
It can be solve by using flag to pre-alloc a larger memory, but a dynamic grow memory would be better
Describe the solution you'd like
We can use the boost api
grow
to dynamic alloc more memory.