cassandra-env.sh is only used on *nix systems. You'll need to change bin/cassandra.bat. Interestingly, that's hardcoded to use a 1G heap, which seems like a bug.
On Wed, Mar 12, 2014 at 2:40 PM, Lukas Steiblys <lu...@doubledutch.me>wrote: > I am running Windows Server 2008 R2 Enterprise on a 2 Core Intel Xeon > with 16GB of RAM and I want to change the max heap size. I set > MAX_HEAP_SIZE in cassandra-env.sh, but when I start Cassandra, it's still > reporting: > > INFO 12:37:36,221 Global memtable threshold is enabled at 247MB > INFO 12:37:36,377 using multi-threaded compaction > INFO 12:37:36,705 JVM vendor/version: Java HotSpot(TM) 64-Bit Server > VM/1.7.0_51 > INFO 12:37:36,705 Heap size: 1037959168/1037959168 > > My question is: how do I change the heap size? > > Lukas Steiblys > > -- Tyler Hobbs DataStax <http://datastax.com/>