Skip to content

count memory cost for returned []byte or SliceLocation #50131

@lance6716

Description

@lance6716

Enhancement

We have limited the total memory block acquired from membuf.Pool to 16G, but the keys and values type which has their underlying array pointing to membuf.Pool also costs a lot memory so the node may OOM.

image
⬇️
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions