In simple words, everything works flawleslly at first installation. Soon enough, the database grow and high RAM usage appear. The problem emerge due to 32bit version. If you like to use 64bit, you need to migrate to Flux language.
Just use an external drive to store your database.
$ tree
.
├── config
│ └── influxdb.conf