cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Molinaro <>
Subject JVM Options for Production
Date Mon, 14 Jun 2010 23:01:57 GMT

  I was updating to a newer 0.6.3 and happened to remember that I noticed
back in 0.6.2 there's this change in CHANGES.txt

 * improve default JVM GC options (CASSANDRA-1014)

Looking at that ticket, I don't actually see the options listed or a
reason for why they changed.  Also, I'm not certain which options are
now recommended for a production system versus what's in the distribution.

The distribution (well svn) for 0.6.x currently has

        -ea \
        -Xms256M \
        -Xmx1G \
        -XX:+UseParNewGC \
        -XX:+UseConcMarkSweepGC \
        -XX:+CMSParallelRemarkEnabled \
        -XX:SurvivorRatio=8 \
        -XX:MaxTenuringThreshold=1 \
        -XX:+HeapDumpOnOutOfMemoryError \ \ \"

Now I would assume that for 'production' you want to remove

as well as adjust -Xms and Xmx accordingly, but are there any others
which should be tweaked?  Is there actually a recommended production
set of values or does it very greatly from installation to installation?



Anthony Molinaro                           <>

View raw message