MCPcopy Create free account
hub / github.com/apache/impala / LimitExceededSlow

Method LimitExceededSlow

be/src/runtime/mem-tracker.cc:538–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536}
537
538bool MemTracker::LimitExceededSlow(MemLimit mode) {
539 if (mode == MemLimit::HARD && bytes_over_limit_metric_ != nullptr) {
540 bytes_over_limit_metric_->SetValue(consumption() - limit_);
541 }
542 return GcMemory(GetLimit(mode));
543}
544
545bool MemTracker::GcMemory(int64_t max_consumption) {
546 if (max_consumption < 0) return true;

Callers

nothing calls this directly

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected