Here’s what I see on my server. And atleast in my case, 32 GB of memory is used for filesystem caching - which I believe is mostly for memory-mapped files.
Many years ago (2011-2013), I had a similar situation with MongoDB wherein as I added more data, MongoDB’s memory footprint would grow and the only way out was to restart MongoDB as lukecyca described.
Wondering if it is is the same situation for you too.
dtord03dvo19d.dc.dotomi.net:/home/jthakrar>ps aux | egrep 'CPU|influxd'
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
influxdb 3429 20.2 37.9 103602708 18717376 ? Ssl Aug13 4407:06 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
dtord03dvo19d.dc.dotomi.net:/home/jthakrar>free -g
total used free shared buff/cache available
Mem: 46 12 1 0 32 33
Swap: 23 2 21
dtord03dvo19d.dc.dotomi.net:/home/jthakrar>influx -version
InfluxDB shell version: 1.4.2
dtord03dvo19d.dc.dotomi.net:/home/jthakrar>cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)