Open ekexium opened 6 months ago
I'm interested in this. Can you assign it to me? Could you please give me some tips?
Hi @RemHero, you can start from learning how other trackers track the memory usage of data structures, and apply the same way to this one. You can find the memory tracker defined in pkg/util/memory/tracker.go
The InitCheckExistence
is a method in tikv/client-go
; refer to InitCheckExistence.
There seems to be no way to get the memory consumption inside InitCheckExistence
with Tracker? Could you please give me another hint? @ekexium Thanks
@RemHero
onMemChange
closure to the structure.
Enhancement
part of #49643
The memory consumed in InitCheckExistence in the graph is not tracked by the memory tracker.