64bit is recommended where that's available. If you actually did have a 32bit machine or VM, then you should dramatically reduce the commitlog space cap to the minimum of 128MB so it doesn't need to mmap so much.
On Tue, Apr 17, 2012 at 1:45 PM, Bryce Godfrey <bryce.godf...@azaleos.com> wrote: > Sorry, I found the issue. The server I was using had 32bit java installed. > > -----Original Message----- > From: Sylvain Lebresne [mailto:sylv...@datastax.com] > Sent: Monday, April 16, 2012 11:39 PM > To: user@cassandra.apache.org > Subject: Re: [RELEASE CANDIDATE] Apache Cassandra 1.1.0-rc1 released > > On Mon, Apr 16, 2012 at 10:45 PM, Bryce Godfrey <bryce.godf...@azaleos.com> > wrote: >> I keep running into this with my testing (on a windows box), Is this just a >> OOM for RAM? > > How much RAM do you have? Do you use completely standard settings? Do you > also OOM if you try the same test with Cassandra 1.0.9? > > -- > Sylvain > >> >> ERROR [COMMIT-LOG-ALLOCATOR] 2012-04-16 13:36:18,790 >> AbstractCassandraDaemon.java (line 134) 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>(CommitLogSeg >> ment.java:127) >> at >> org.apache.cassandra.db.commitlog.CommitLogSegment.freshSegment(Commit >> LogSegment.java:80) >> at >> org.apache.cassandra.db.commitlog.CommitLogAllocator.createFreshSegmen >> t(CommitLogAllocator.java:244) >> at >> org.apache.cassandra.db.commitlog.CommitLogAllocator.access$500(Commit >> LogAllocator.java:49) >> at >> org.apache.cassandra.db.commitlog.CommitLogAllocator$1.runMayThrow(Com >> mitLogAllocator.java:104) >> 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>(CommitLogSeg >> ment.java:119) >> ... 6 more >> Caused by: java.lang.OutOfMemoryError: Map failed >> at sun.nio.ch.FileChannelImpl.map0(Native Method) >> ... 8 more >> INFO [StorageServiceShutdownHook] 2012-04-16 13:36:18,961 >> CassandraDaemon.java (line 218) Stop listening to thrift clients >> INFO [StorageServiceShutdownHook] 2012-04-16 13:36:18,961 >> MessagingService.java (line 539) Waiting for messaging service to >> quiesce >> INFO [ACCEPT-/10.47.1.15] 2012-04-16 13:36:18,977 MessagingService.java >> (line 695) MessagingService shutting down server thread. >> >> -----Original Message----- >> From: Sylvain Lebresne [mailto:sylv...@datastax.com] >> Sent: Friday, April 13, 2012 9:41 AM >> To: user@cassandra.apache.org >> Subject: [RELEASE CANDIDATE] Apache Cassandra 1.1.0-rc1 released >> >> The Cassandra team is pleased to announce the release of the first release >> candidate for the future Apache Cassandra 1.1. >> >> Please first note that this is a release candidate, *not* the final release >> yet. >> >> All help in testing this release candidate will be greatly appreciated. >> Please report any problem you may encounter[3,4] and have a look at the >> change log[1] and the release notes[2] to see where Cassandra 1.1 differs >> from the previous series. >> >> Apache Cassandra 1.1.0-rc1[5] is available as usual from the cassandra >> website (http://cassandra.apache.org/download/) and a debian package is >> available using the 11x branch (see >> http://wiki.apache.org/cassandra/DebianPackaging). >> >> Thank you for your help in testing and have fun with it. >> >> [1]: http://goo.gl/XwH7J (CHANGES.txt) >> [2]: http://goo.gl/JocLX (NEWS.txt) >> [3]: https://issues.apache.org/jira/browse/CASSANDRA >> [4]: user@cassandra.apache.org >> [5]: >> http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=re >> fs/tags/cassandra-1.1.0-rc1 -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com