Track the memory usage of snapshot cache in client
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
The snapshot cache in client-go can consume a large amount of memory. The memory footprint should be tracked.
https://github.com/tikv/client-go/blob/98a4e2776e38117aba89c54a80575a993a701fa7/txnkv/txnsnapshot/snapshot.go#L127
Contributor guide
Assessment
This issue has not been assessed yet.