WAL file grows until OOM

Hi,

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

|4.0K|./data/autogen/236|
|4.0K|./data/autogen/230|
|4.0K|./data/autogen/55|
|4.0K|./data/autogen/42|
|4.0K|./data/autogen/176|
|4.0K|./data/autogen/6|
|163M|./data/autogen|