Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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