Influxdb 1.8 service is filling and consuming all the memory of the server

Thanks Anaisdg.
Is restarting service every 12 hours automatically can be a workaround solution?