Fix Cassandra Xms and Xmx to 2G
# the same value to avoid stop-the-world GC pauses during resize, and
# so that we can lock the heap in memory on startup to prevent any
# of it from being swapped out.
-#-Xms4G
-#-Xmx4G
+-Xms2G
+-Xmx2G
# Young generation size is automatically calculated by cassandra-env
# based on this formula: min(100 * num_cores, 1/4 * heap size)
