executor: check memory limit before allocate large memory in HashAgg (#37013)
executor: check memory limit before allocate large memory in HashAgg (#37013)

ref pingcap/tidb#35635
pingcap/tidb,pingcap/tidb,pingcap/tidb,pingcap/tidb,pingcap/tidb,pingcap/tidb