# Functions
NewMemoryLimiter returns a new memory limiter component.
# Variables
ErrDataRefused will be returned to callers of ConsumeTraceData to indicate that data is being refused due to high memory usage.
ErrShutdownNotStarted indicates no memorylimiter has not start when shutdown.
GetMemoryFn and ReadMemStatsFn make it overridable by tests.
No description provided by the author
# Structs
Config defines configuration for memory memoryLimiter processor.
MemoryLimiter is used to prevent out of memory situations on the collector.