Description
What happened
The first out-of-core release will limit aggregation output size. Dense Hist2D output, such as 1000 by 1000 bins, and grouped traces with about 1,000 groups are outside the supported contract because the streaming aggregation can exceed its memory budget.
What I expected
FlexViz can process these outputs from data larger than RAM with bounded memory, without changing process-wide Polars settings.
Steps to reproduce
- Register a Parquet source larger than available RAM.
- Add a 1000 by 1000 Hist2D trace, or a grouped histogram whose groups and bins produce a similar number of cells.
- Render it with the out-of-core path under a 3 GiB memory limit.
- Observe that the workload exceeds the supported output-cell limit or memory budget.
Additional context
Benchmarks used 500 million rows, eight threads, and a 3 GiB limit. Polars streaming aggregation exceeded the limit with its default settings. Increasing its process-wide hot-table size worked for some cases, but is not safe library behavior and can multiply memory use across concurrent requests.
This capability is intentionally deferred. Revisit it when Polars offers safe per-query sizing, or when another simple bounded approach passes representative single-file, multi-file, and concurrent-request benchmarks.
Activity