This looks like CASSANDRA-4201 where map() was failing with oom under 32 bits jvm.
Jonathan provided a patch for that. You can apply it on top of 1.1. - Pierre From: cyril auburtin [mailto:cyril.aubur...@gmail.com] Sent: mardi 8 mai 2012 08:56 To: user@cassandra.apache.org Subject: Re: cassandra1.1 can't start 8G, by default the jvm was taking 2G, and I had this error even with 1G, I had the error, finally 500M made it work (4 Intel Atoms, OS: ubuntu 10.04 ) 2012/5/8 Watanabe Maki <watanabe.m...@gmail.com> How much memory do you have on the box? It seems you need more memory. maki On 2012/05/08, at 1:29, cyril auburtin <cyril.aubur...@gmail.com> wrote: 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.j ava:127) at org.apache.cassandra.db.commitlog.CommitLogAllocator$3.run(CommitLogAllocato r.java:191) at org.apache.cassandra.db.commitlog.CommitLogAllocator$1.runMayThrow(CommitLog Allocator.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.j ava: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.jav a: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?