Skip to content

raw client batch put memory leak #488

@oswaldoooo

Description

@oswaldoooo

valgrindbak.log this is my db bench valgrind analyze result. i need put 10 million custom record data to tikv for query loadtest.

And I've identified a memory leak issue in the client application. As the data volume increases, the memory usage grows progressively. When inserting 10 million records, the memory consumption reaches 700MB, which is unreasonable given that:

My concurrency is strictly limited to 100,000 operations and I only have about 60 bytes per record
The memory usage accumulates gradually over time
This linear growth pattern suggests unmanaged resource retention

:=/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions