Skip to content

[Feature Request]Optimize the memory allocation of NetworkReceive #2962

@superhx

Description

@superhx

Who is this feature for?

All

What problem are they facing today?

The NetworkReceive memory allocation occupies nearly 20% of overall memory allocation. It can be optimized to reduce the GC overhead.

Image

Why is solving this impactful?

Proposed solution

  • The memory pool should have a limitation on pooled size.
  • The memory pool should be fine-grained for requests of different sizes to avoid memory waste.

Additional notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions