InfluxDB uses more meory

Hi team,

I am using influx for long time with collectd and it works well. But suddenly after some time, It started to use more memory and CPU. After some time it crashing the server. When I used free -m command, it seems that more cache is used. is there any solution for this?

cache-max-memory-size = 1048576000
cache-snapshot-memory-size = 26214400
cache-snapshot-write-cold-duration = “10m”
compact-full-write-cold-duration = “4h”

all the above 4 values are commented, Is these values are default one or I need to uncomment it? Thanks.