incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Danforth <idanfo...@numenta.com>
Subject Re: Max heap not sticking?
Date Tue, 16 Aug 2011 01:31:50 GMT
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 <idanforth@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}"
>
>

Mime
View raw message