There is an undocumented feature that uploads free heap size to influx with each write. To turn it on you need to manually add the json object.
“heap” : true,
to the influx object in your config.txt file. You can then plot the heap size over time and see if there is gradual or sudden loss.