Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
cassandra-2.0 commit 90780b5
Description
I attempted to find a spot where this test actually passes, and I was unable to do so. I tried back to 1.1 HEAD and various release tags under jdk7 and jdk6 for <= 1.2 tags. In 1.2.0 with jdk6, the test times out with java.lang.OutOfMemoryError: GC overhead limit exceeded, so it's similar.
[junit] Testcase: testManyMemtables(org.apache.cassandra.db.MeteredFlusherTest): Caused an ERROR [junit] Java heap space [junit] java.lang.OutOfMemoryError: Java heap space [junit] at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57) [junit] at java.nio.ByteBuffer.allocate(ByteBuffer.java:331) [junit] at org.apache.cassandra.utils.SlabAllocator$Region.<init>(SlabAllocator.java:157) [junit] at org.apache.cassandra.utils.SlabAllocator$Region.<init>(SlabAllocator.java:131) [junit] at org.apache.cassandra.utils.SlabAllocator.getRegion(SlabAllocator.java:101) [junit] at org.apache.cassandra.utils.SlabAllocator.allocate(SlabAllocator.java:73) [junit] at org.apache.cassandra.utils.Allocator.clone(Allocator.java:30) [junit] at org.apache.cassandra.db.Column.localCopy(Column.java:277) [junit] at org.apache.cassandra.db.Memtable$1.apply(Memtable.java:114) [junit] at org.apache.cassandra.db.Memtable$1.apply(Memtable.java:111) [junit] at org.apache.cassandra.db.AtomicSortedColumns.addAllWithSizeDelta(AtomicSortedColumns.java:194) [junit] at org.apache.cassandra.db.Memtable.resolve(Memtable.java:218) [junit] at org.apache.cassandra.db.Memtable.put(Memtable.java:165) [junit] at org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:901) [junit] at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:374) [junit] at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:339) [junit] at org.apache.cassandra.db.RowMutation.applyUnsafe(RowMutation.java:216) [junit] at org.apache.cassandra.db.MeteredFlusherTest.testManyMemtables(MeteredFlusherTest.java:59) [junit] [junit] [junit] Test org.apache.cassandra.db.MeteredFlusherTest FAILED