Hi,
With Cassandra 1.1, I have the following crash on a fresh new single node cluster running on Windows 7. On client side: create keyspace toto; create column family titi; truncate titi; The crash server side (the server is dead then) : D:\Cassandra\apache-cassandra-1.1.0\bin>cassandra.bat Starting Cassandra Server INFO 09:30:29,768 Logging initialized INFO 09:30:29,889 JVM vendor/version: Java HotSpot(TM) Client VM/1.6.0_31 INFO 09:30:29,889 Heap size: 1070399488/1070399488 INFO 09:30:29,890 Classpath: D:\Cassandra\apache-cassandra-1.1.0\conf;D:\Cassandra\apache-cassandra-1.1.0 \lib\antlr-3.2.jar;D:\Cassandra\apache-cassandra-1.1.0\lib\apache-cassandra- 1.1.0.jar;D:\Cassandra\apache-cassandra-1.1.0\lib\apache-cassandra-clientuti l-1.1.0.jar;D:\Cassandra\apache-cassandra-1.1.0\lib\apache-cassandra-thrift- 1.1.0.jar;D:\Cassandra\apache-cassandra-1.1.0\lib\avro-1.4.0-fixes.jar;D:\Ca ssandra\apache-cassandra-1.1.0\lib\avro-1.4.0-sources-fixes.jar;D:\Cassandra \apache-cassandra-1.1.0\lib\commons-cli-1.1.jar;D:\Cassandra\apache-cassandr a-1.1.0\lib\commons-codec-1.2.jar;D:\Cassandra\apache-cassandra-1.1.0\lib\co mmons-lang-2.4.jar;D:\Cassandra\apache-cassandra-1.1.0\lib\compress-lzf-0.8. 4.jar;D:\Cassandra\apache-cassandra-1.1.0\lib\concurrentlinkedhashmap-lru-1. 2.jar;D:\Cassandra\apache-cassandra-1.1.0\lib\guava-r08.jar;D:\Cassandra\apa che-cassandra-1.1.0\lib\high-scale-lib-1.1.2.jar;D:\Cassandra\apache-cassand ra-1.1.0\lib\jackson-core-asl-1.9.2.jar;D:\Cassandra\apache-cassandra-1.1.0\ lib\jackson-mapper-asl-1.9.2.jar;D:\Cassandra\apache-cassandra-1.1.0\lib\jam m-0.2.5.jar;D:\Cassandra\apache-cassandra-1.1.0\lib\jline-0.9.94.jar;D:\Cass andra\apache-cassandra-1.1.0\lib\json-simple-1.1.jar;D:\Cassandra\apache-cas sandra-1.1.0\lib\libthrift-0.7.0.jar;D:\Cassandra\apache-cassandra-1.1.0\lib \log4j-1.2.16.jar;D:\Cassandra\apache-cassandra-1.1.0\lib\metrics-core-2.0.3 .jar;D:\Cassandra\apache-cassandra-1.1.0\lib\servlet-api-2.5-20081211.jar;D: \Cassandra\apache-cassandra-1.1.0\lib\slf4j-api-1.6.1.jar;D:\Cassandra\apach e-cassandra-1.1.0\lib\slf4j-log4j12-1.6.1.jar;D:\Cassandra\apache-cassandra- 1.1.0\lib\snakeyaml-1.6.jar;D:\Cassandra\apache-cassandra-1.1.0\lib\snappy-j ava-1.0.4.1.jar;D:\Cassandra\apache-cassandra-1.1.0\lib\snaptree-0.1.jar;D:\ Cassandra\apache-cassandra-1.1.0\build\classes\main;D:\Cassandra\apache-cass andra-1.1.0\build\classes\thrift;D:\Cassandra\apache-cassandra-1.1.0\lib\jam m-0.2.5.jar INFO 09:30:29,901 JNA not found. Native methods will be disabled. INFO 09:30:29,955 Loading settings from file:/D:/Cassandra/apache-cassandra-1.1.0/conf/cassandra.yaml INFO 09:30:30,243 DiskAccessMode 'auto' determined to be standard, indexAccessMode is standard INFO 09:30:30,708 Global memtable threshold is enabled at 340MB INFO 09:30:31,478 Initializing key cache with capacity of 51 MBs. INFO 09:30:31,573 Scheduling key cache save to each 14400 seconds (going to save all keys). INFO 09:30:31,576 Initializing row cache with capacity of 0 MBs and provider org.apache.cassandra.cache.SerializingCacheProvider INFO 09:30:31,614 Scheduling row cache save to each 0 seconds (going to save all keys). INFO 09:30:32,101 Couldn't detect any schema definitions in local storage. INFO 09:30:32,101 Found table data in data directories. Consider using the CLI to define your schema. INFO 09:30:32,174 No commitlog files found; skipping replay INFO 09:30:32,235 Cassandra version: 1.1.0 INFO 09:30:32,237 Thrift API version: 19.30.0 INFO 09:30:32,252 CQL supported versions: 2.0.0,3.0.0-beta1 (default: 2.0.0) INFO 09:30:32,589 Loading persisted ring state INFO 09:30:32,592 Starting up server gossip INFO 09:30:32,634 Enqueuing flush of Memtable-LocationInfo@24914065(126/157 serialized/live bytes, 3 ops) INFO 09:30:32,635 Writing Memtable-LocationInfo@24914065(126/157 serialized/live bytes, 3 ops) INFO 09:30:33,193 Completed flushing D:\Cassandra\apache-cassandra-1.1.0\storage\data\system\LocationInfo\system- LocationInfo-hc-1-Data.db (234 bytes) INFO 09:30:33,254 Starting Messaging Service on port 7000 INFO 09:30:33,262 This node will not auto bootstrap because it is configured to be a seed node. INFO 09:30:33,271 Saved token not found. Using 0 from configuration INFO 09:30:33,274 Enqueuing flush of Memtable-LocationInfo@5474676(38/47 serialized/live bytes, 2 ops) INFO 09:30:33,275 Writing Memtable-LocationInfo@5474676(38/47 serialized/live bytes, 2 ops) INFO 09:30:33,507 Completed flushing D:\Cassandra\apache-cassandra-1.1.0\storage\data\system\LocationInfo\system- LocationInfo-hc-2-Data.db (148 bytes) INFO 09:30:33,514 Node /127.0.0.1 state jump to normal INFO 09:30:33,516 Bootstrap/Replace/Move completed! Now serving reads. INFO 09:30:33,521 Will not load MX4J, mx4j-tools.jar is not in the classpath INFO 09:30:33,627 Binding thrift service to /127.0.0.1:9160 INFO 09:30:33,632 Using TFastFramedTransport with a max frame size of 15728640 bytes. INFO 09:30:33,636 Using synchronous/threadpool thrift server on /127.0.0.1 : 9160 INFO 09:30:33,638 Listening for thrift clients... INFO 09:30:58,334 Enqueuing flush of Memtable-schema_keyspaces@18093512(184/230 serialized/live bytes, 4 ops) INFO 09:30:58,336 Writing Memtable-schema_keyspaces@18093512(184/230 serialized/live bytes, 4 ops) INFO 09:30:58,853 Completed flushing D:\Cassandra\apache-cassandra-1.1.0\storage\data\system\schema_keyspaces\sys tem-schema_keyspaces-hc-1-Data.db (238 bytes) INFO 09:31:18,695 Enqueuing flush of Memtable-schema_columnfamilies@22440556(1138/1422 serialized/live bytes, 20 ops) INFO 09:31:18,695 Writing Memtable-schema_columnfamilies@22440556(1138/1422 serialized/live bytes, 20 ops) INFO 09:31:18,883 Completed flushing D:\Cassandra\apache-cassandra-1.1.0\storage\data\system\schema_columnfamilie s\system-schema_columnfamilies-hc-1-Data.db (1200 bytes) INFO 09:31:56,690 Enqueuing flush of Memtable-Versions@1878808(83/103 serialized/live bytes, 3 ops) INFO 09:31:56,691 Writing Memtable-Versions@1878808(83/103 serialized/live bytes, 3 ops) INFO 09:31:56,911 Completed flushing D:\Cassandra\apache-cassandra-1.1.0\storage\data\system\Versions\system-Vers ions-hc-1-Data.db (247 bytes) ERROR 09:31:57,093 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.CommitLogSegment.recycle(CommitLogSegment. java:202) at org.apache.cassandra.db.commitlog.CommitLogAllocator$2.run(CommitLogAllocato r.java:159) 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(Unknown Source) Caused by: java.io.IOException: Map failed at sun.nio.ch.FileChannelImpl.map(Unknown Source) at org.apache.cassandra.db.commitlog.CommitLogSegment.<init>(CommitLogSegment.j ava:119) ... 5 more Caused by: java.lang.OutOfMemoryError: Map failed at sun.nio.ch.FileChannelImpl.map0(Native Method) ... 7 more INFO 09:31:57,116 Stop listening to thrift clients INFO 09:31:57,117 Waiting for messaging service to quiesce INFO 09:31:57,136 MessagingService shutting down server thread. Is this a known issue ? Thanks, - Pierre