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

Method LimitExceeded

be/src/runtime/mem-tracker.h:266–269  ·  view source on GitHub ↗

If this tracker has a limit, checks the limit and attempts to free up some memory if the hard limit is exceeded by calling any added GC functions. Returns true if the limit is exceeded after calling the GC functions. Returns false if there is no limit or consumption is under the limit.

Source from the content-addressed store, hash-verified

264 /// limit is exceeded after calling the GC functions. Returns false if there is no limit
265 /// or consumption is under the limit.
266 bool LimitExceeded(MemLimit mode) {
267 if (UNLIKELY(CheckLimitExceeded(mode))) return LimitExceededSlow(mode);
268 return false;
269 }
270
271 /// Returns the maximum consumption that can be made without exceeding the limit on
272 /// this tracker or any of its parents. Returns int64_t::max() if there are no

Callers 4

TESTFunction · 0.45
TESTFunction · 0.45
InitMethod · 0.45
AnyLimitExceededMethod · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36