HPCC-15518 Do not dump an out of memory report if memory not required Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
@@ -3801,7 +3801,8 @@ public:
catch (IException *e)
{
EXCLOG(e, "CChunkingRowManager::allocate(memsize_t _size, unsigned activityId, unsigned maxSpillCost)");
- doOomReport();
+ if (maxSpillCost == SpillAllCost)
+ doOomReport();
throw;
}
@@ -3907,7 +3908,8 @@ public:
EXCLOG(e, "CChunkingRowManager::resizeRow(void * original, memsize_t copysize, memsize_t newsize, unsigned activityId, unsigned maxSpillCost, IRowResizeCallback & callback)");