WAL file grows until OOM


I’m making frequent writes to influxDB version 1.7.9 (approximately 7k points a minute continuously) and one WAL file ends up growing until InfluxDB runs out of memory. What steps can I take to prevent this from happening?

Note - I’ve tried configuring cache-snapshot-memory-size to be 5m