well I uncommented lines96&97 in cassandra-env.sh, with lower values MAX_HEAP_SIZE="500M" HEAP_NEWSIZE="100M"
seems to fix, it 2012/5/7 cyril auburtin <cyril.aubur...@gmail.com> > The xassandra lauch command worked the first time > > then now I keep getting > > INFO 18:18:39,354 Starting up server gossip > ERROR 18:18:39,357 Exception in thread Thread[COMMIT-LOG-ALLOCATOR,5,main] > java.io.IOError: java.io.IOException: Map failed > at > org.apache.cassandra.db.commitlog.CommitLogSegment.<init>(CommitLogSegment.java:127) > at > org.apache.cassandra.db.commitlog.CommitLogAllocator$3.run(CommitLogAllocator.java:191) > at > org.apache.cassandra.db.commitlog.CommitLogAllocator$1.runMayThrow(CommitLogAllocator.java:95) > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30) > at java.lang.Thread.run(Thread.java:636) > Caused by: java.io.IOException: Map failed > at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:803) > at > org.apache.cassandra.db.commitlog.CommitLogSegment.<init>(CommitLogSegment.java:119) > ... 4 more > Caused by: java.lang.OutOfMemoryError: Map failed > at sun.nio.ch.FileChannelImpl.map0(Native Method) > at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:800) > ... 5 more > ERROR 18:18:39,361 Exception in thread > Thread[StorageServiceShutdownHook,5,main] > java.lang.NullPointerException > at org.apache.cassandra.gms.Gossiper.stop(Gossiper.java:1113) > at > org.apache.cassandra.service.StorageService$2.runMayThrow(StorageService.java:478) > at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30) > at java.lang.Thread.run(Thread.java:636) > > I have tried rebooting, starting it alone, clearing all /var/lib/cassandra > dir > but keep getting this error > > any idea? >