package
0.0.0-20180920010412-6999b08416f3
Repository: https://github.com/nify/tidb.git
Documentation: pkg.go.dev
# Functions
NewTracker creates a memory tracker.
# Constants
PanicMemoryExceed represents the panic message when out of memory quota.
# Structs
LogOnExceed logs a warning only once when memory usage exceeds memory quota.
PanicOnExceed panics when memory usage exceeds memory quota.
Tracker is used to track the memory usage during query execution.
# Interfaces
ActionOnExceed is the action taken when memory usage exceeds memory quota.