Skip to content

Commit

Permalink
fix: Reduce the amount of memory used by the in-memory extension mana…
Browse files Browse the repository at this point in the history
…ger gRPC server buffer (#3512)

Reduce the amount of memory used by the in-memory gRPC buffer to a
reasonable size.

Signed-off-by: Lior Okman <lior.okman@sap.com>
  • Loading branch information
liorokman authored May 31, 2024
1 parent 11349b1 commit 97895ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/extension/registry/extension_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func NewInMemoryManager(cfg v1alpha1.ExtensionManager, server extension.EnvoyGat
return nil, nil, fmt.Errorf("in-memory manager must be passed a server")
}

buffer := 101024 * 1024
buffer := 10 * 1024 * 1024
lis := bufconn.Listen(buffer)

baseServer := grpc.NewServer()
Expand Down

0 comments on commit 97895ba

Please sign in to comment.