package
0.0.0-20181009085715-d60a1a227b92
Repository: https://github.com/lightkool/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.