We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ab8d25 commit 7376cbeCopy full SHA for 7376cbe
2 files changed
ydb/library/yql/minikql/aligned_page_pool.h
@@ -218,6 +218,10 @@ class TAlignedPagePoolImpl {
218
IsMaximumLimitValueReached = isReached;
219
}
220
221
+ bool GetMaximumLimitValueReached() const noexcept {
222
+ return IsMaximumLimitValueReached;
223
+ }
224
+
225
bool IsMemoryYellowZoneEnabled() const noexcept {
226
return IsMemoryYellowZoneReached;
227
ydb/library/yql/minikql/comp_nodes/mkql_wide_combine.cpp
@@ -710,7 +710,7 @@ class TSpillingSupportState : public TComputationValue<TSpillingSupportState> {
710
711
712
bool IsSwitchToSpillingModeCondition() const {
713
- return !HasMemoryForProcessing();
+ return !HasMemoryForProcessing() || TlsAllocState->GetMaximumLimitValueReached();
714
715
716
public:
0 commit comments