Depends on which GC you are using but you can definitely manage GC - but you will always be stuck to the upper limit of memory.
I found the Hubspot gc visualizer and the associated blog post very helpful in the past. https://github.com/HubSpot/gc_log_visualizer/blob/master/README.md https://product.hubspot.com/blog/g1gc-fundamentals-lessons-from-taming-garbage-collection Rahul On Jul 26, 2018, 1:27 PM -0400, R1 J1 <rjsoft...@gmail.com>, wrote: > Any one has tried to optimize or change cassandra-env.sh in an server > installation to make it use more heap size for garbage collection ? > Any ideas ? We are having some oom issues and thinking if we have options > other than increasing RAM for that node. > > Regards >