False alarm, typo further down in cassandra-env.sh was removing all the opts.
Ian On Mon, Aug 15, 2011 at 6:08 PM, Ian Danforth <idanfo...@numenta.com> wrote: > All, > > When I connect to a node through jconsole it's telling me that my max > heap is only 1.7gb. (eg http://screencast.com/t/7DP8ovdUv) However I > believe I have properly specified that it should be 4GB in > cassandra-env.sh. Total memory is 7.5GB > > I see greatly increased GC activity as the heap approaches 1.7GB. > > Can anyone suggest why the heap might not use all the memory as > specified? > > Ian > > > From cassandra-env.sh > > MAX_HEAP_SIZE="4096M" > HEAP_NEWSIZE="400M" > > JVM_OPTS="$JVM_OPTS -Xms${MAX_HEAP_SIZE}" > JVM_OPTS="$JVM_OPTS -Xmx${MAX_HEAP_SIZE}" > JVM_OPTS="$JVM_OPTS -Xmn${HEAP_NEWSIZE}" > >