diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index a4a20b8fffa03c0582c749cc0d3b1131255a548b..6531d4f7ac352bd56857fea0dce53cde37ced917 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -332,7 +332,7 @@ SSDataBlock* createOutputBuf(SExprInfo* pExpr, int32_t numOfOutput, int32_t numO tmp *= numOfRows; if (tmp >= 1024*1024*1024) { // 1G qError("size is too large, failed to allocate column buffer for output buffer"); - goto _clean; + tmp = 128*1024*1024; } size_t size = (size_t)MAX(tmp, minSize); idata.pData = calloc(1, size); // at least to hold a pointer on x64 platform