TwoPassPass1	crates/gravity/lowerv4/src/ops/sort/topn/strategies/twopass.rs	Split::desc	lifetime	-	a two-pass top's first pass is read whole by its readers	hash aggregate	A GROUP BY that orders by count(*) DESC under a constant LIMIT, or keeps groups by HAVING count(*) against a constant, can count every key in memory in a first pass where PostgreSQL's hash aggregate spills to disk, so the statement fails with an out-of-memory error when the server has no more memory to give it.
