Skip to content

Commit 146b2b8

Browse files
themironfujita
authored andcommitted
server: improve ListPath's memory consumption with batched send
With a lot of paths (hundreds of thousands) gobgp may oom or stuck in swapping. Allow to specify max batch size via grpc and keep unlimited batch size by default since 21093fb without preallocation on the first run, so it still should not affect perfomance/allocations with small ammount of paths. Signed-off-by: Vladislav Grishenko <[email protected]>
1 parent ed5732b commit 146b2b8

File tree

3 files changed

+1559
-1523
lines changed

3 files changed

+1559
-1523
lines changed

0 commit comments

Comments
 (0)