I use cassandra 3.9, but outOfMemoryError happens often and each nodes has been down one by one.
I'm making a research about configuration, and I think one of the way is to increase file_cache_size_in_mb. Current size is 512MB.
But I'm not an expert of memory usage, and anxious about side effect to performance. I think disk cache will be cut off and cassandra's I/O performance is slowed down a little.
Do you know any other points I should be aware?
My machine spec is:
- machine memory is 128GB. Java heap is 8GB.
- Right now only 18GB is used, but another 100GB is allocated for OS disk cache. Totally free memory is about 1GB.
- No other process except cassandra.