You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2013/06/28 16:12:06 UTC

[Cassandra Wiki] Update of "GettingStarted" by jeremyhanna

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "GettingStarted" page has been changed by jeremyhanna:
https://wiki.apache.org/cassandra/GettingStarted?action=diff&rev1=90&rev2=91

Comment:
Trying to update recommendations for heap and heap new size.

  #MAX_HEAP_SIZE="4G"
  #HEAP_NEWSIZE="800M"
  }}}
- As a rule of thumb, you should set `HEAP_NEWSIZE` to be 1/4 of `MAX_HEAP_SIZE`. If you face OutOfMemory exceptions or massive GCs with this configuration, increase both of these values.
+ For `MAX_HEAP_SIZE` use as little as you can get away with.  It's recommended to stay within 8G because much beyond that, the CMS GC pauses interfere with normal operations.
+ For `HEAP_NEWSIZE` use the number of cores * 100 but don't exceed 800M.  With too much allocated, ParNew GC pauses become detrimental.
  
  
  == Step 3: Start Cassandra ==