Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
Impala 2.3.0
-
None
Description
Preparing a query fragment for execution can consume a significant amount of untracked memory, between plan fragments, descriptors, and in-memory LLVM structures. This is problematic if we're at or near the process memory limit, since it will go further over the limit. This memory isn't freed until the fragment is fully canceled and deregistered.
In this situation better behaviour would be to not start the fragment and notify the coordinator that the fragment was cancelled immediately to avoid consuming resources unnecessarily.
Attachments
Issue Links
- is related to
-
IMPALA-3290 Catch std::bad_alloc from LLVM optimisation
- Resolved
-
IMPALA-3091 LLVM memory is not accounted for in query mem tracker
- Open
-
IMPALA-2120 Track mem of std structures in query execution
- Open