1. Snowflake Documentation: Query Profile, section "Query Operators". The documentation for operator details explicitly mentions "Bytes spilled to local storage" and "Bytes spilled to remote storage". It states: "To avoid or reduce spilling, try the following: Use a larger warehouse."
2. Snowflake Documentation: Virtual Warehouse Considerations, section "Warehouse Sizing for Performance". This section explains: "...a smaller warehouse may not have enough memory to perform operations such as joins and sorts on large datasets, and will “spill” data to disk, which is a very slow operation." This directly links insufficient memory on smaller warehouses to spilling.
3. Snowflake Documentation: Overview of Warehouses. The documentation details that larger warehouse sizes provide more compute resources, which includes memory. For example, "Each successive size doubles the compute resources per hour...". This confirms that a larger warehouse has more memory to prevent spilling.