Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions ydb/core/kqp/compute_actor/kqp_pure_compute_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,7 @@ STFUNC(TKqpComputeActor::StateFunc) {
BaseStateFuncBody(ev);
}
} catch (const TMemoryLimitExceededException& e) {
InternalError(TIssuesIds::KIKIMR_PRECONDITION_FAILED, TStringBuilder()
<< "Mkql memory limit exceeded, limit: " << GetMkqlMemoryLimit()
<< ", host: " << HostName()
<< ", canAllocateExtraMemory: " << CanAllocateExtraMemory);
TBase::OnMemoryLimitExceptionHandler();
} catch (const NMiniKQL::TKqpEnsureFail& e) {
InternalError((TIssuesIds::EIssueCode) e.GetCode(), e.GetMessage());
} catch (const yexception& e) {
Expand Down
5 changes: 1 addition & 4 deletions ydb/core/kqp/compute_actor/kqp_scan_compute_actor.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ class TKqpScanComputeActor: public NYql::NDq::TDqSyncComputeActorBase<TKqpScanCo
BaseStateFuncBody(ev);
}
} catch (const TMemoryLimitExceededException& e) {
const TString sInfo = TStringBuilder() << "Mkql memory limit exceeded, limit: " << GetMkqlMemoryLimit()
<< ", host: " << HostName() << ", canAllocateExtraMemory: " << CanAllocateExtraMemory;
CA_LOG_E("ERROR:" + sInfo);
InternalError(NYql::NDqProto::StatusIds::PRECONDITION_FAILED, NYql::TIssuesIds::KIKIMR_PRECONDITION_FAILED, sInfo);
TBase::OnMemoryLimitExceptionHandler();
} catch (const yexception& e) {
InternalError(NYql::NDqProto::StatusIds::INTERNAL_ERROR, NYql::TIssuesIds::DEFAULT_ERROR, e.what());
}
Expand Down