Oliver Tan (otan) commented:
When one googles "CockroachDB OOM" and "CockroachDB out of memory", you get hit with a swathe of people posting issues with that title on the crdb forums or on our GitHub, and it's hard to navigate what one should actually do in this instance.
It would be nice if instead there a single page that contained tuning parameters for memory issues:
--cache -- for RocksDB
--max-sql-memory -- for maximum sql memory
sql.distsql-temp_storage.workmem -- for disk spilling
and the tradeoffs which setting each of those higher or lower.
Ideally this would be the first result on Google too!
Related issues:
Jira Issue: DOC-498
Oliver Tan (otan) commented:
When one googles "CockroachDB OOM" and "CockroachDB out of memory", you get hit with a swathe of people posting issues with that title on the crdb forums or on our GitHub, and it's hard to navigate what one should actually do in this instance.
It would be nice if instead there a single page that contained tuning parameters for memory issues:
--cache-- for RocksDB--max-sql-memory-- for maximum sql memorysql.distsql-temp_storage.workmem-- for disk spillingand the tradeoffs which setting each of those higher or lower.
Ideally this would be the first result on Google too!
Related issues:
Jira Issue: DOC-498