We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f457bb commit 65c5a25Copy full SHA for 65c5a25
src/limits/MemoryLimitListener.cc
@@ -88,7 +88,7 @@ tracer::TraceAction MemoryLimitListener::handleMemoryAllocation(
88
", ",
89
VAR(memoryPeakKb_));
90
91
- if (memoryUsage > memoryLimitKb_) {
+ if (memoryLimitKb_ > 0 && memoryUsage > memoryLimitKb_) {
92
outputBuilder_->setKillReason(
93
printer::OutputBuilder::KillReason::MLE,
94
"memory limit exceeded");
0 commit comments