When Xms and Xmx are the same like this the JVM allocates all the memory, and then on Linux cassandra will ask the OS to lock that memory so it cannot be paged out. On windows it’s probably getting paged out.
If you only have 4GB on the box, you probably do not want to run cassandra with 4GB. Try 2Gb so there is room for other things. Cheers ----------------- Aaron Morton New Zealand @aaronmorton Co-Founder & Principal Consultant Apache Cassandra Consulting http://www.thelastpickle.com On 7/01/2014, at 9:03 am, Erik Forkalsud <eforkals...@cj.com> wrote: > On 01/04/2014 08:04 AM, Ertio Lew wrote: >> ... my dual boot 4GB(RAM) machine. >> >> ... -Xms4G -Xmx4G - >> > > You are allocating all your ram to the java heap. Are you using the same JVM > parameters on the windows side? You can try to lower the heap size or add > ram to your machine. > > > > - Erik - > > >