I’m running a small influx database on a google g1-small instance with 1.7GB of RAM. Recently, I noticed that the instance freezes up every couple of days. Looking at go_memstats_sys_bytes, it appears it grows steadily until it hits about 1.3GB and then the VM freezes. Most likely because it’s running out of memory. Then if I restart influxd, go_memstats_sys_bytes goes back down to about 200MB and everything works normally until it reaches out of memory again. The question is why doesn’t influx clean up memory that’s no longer being used / was used by previous queries? Or am I misunderstanding how that’s supposed to work?
I’m on influx 2.0.3.