incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mick Semb Wever <...@apache.org>
Subject get_range_slices OOM on CompressionMetadata.readChunkOffsets(..)
Date Mon, 31 Oct 2011 07:00:10 GMT
After an upgrade to cassandra-1.0 any get_range_slices gives me:

java.lang.OutOfMemoryError: Java heap space
	at org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:93)
	at org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:66)
	at org.apache.cassandra.io.compress.CompressedRandomAccessReader.metadata(CompressedRandomAccessReader.java:53)
	at org.apache.cassandra.io.compress.CompressedRandomAccessReader.open(CompressedRandomAccessReader.java:63)
	at org.apache.cassandra.io.sstable.SSTableReader.openDataReader(SSTableReader.java:896)
	at org.apache.cassandra.io.sstable.SSTableScanner.<init>(SSTableScanner.java:72)
	at org.apache.cassandra.io.sstable.SSTableReader.getScanner(SSTableReader.java:748)
	at org.apache.cassandra.db.RowIteratorFactory.getIterator(RowIteratorFactory.java:88)
	at org.apache.cassandra.db.ColumnFamilyStore.getRangeSlice(ColumnFamilyStore.java:1310)
	at org.apache.cassandra.service.StorageProxy.getRangeSlice(StorageProxy.java:840)
	at org.apache.cassandra.thrift.CassandraServer.get_range_slices(CassandraServer.java:698)


I set chunk_length_kb to 16 as my rows are very skinny (typically 100b)

Any way around this?

~mck

-- 
"Physics is the universe's operating system." Steven R Garman 

| http://semb.wever.org | http://sesat.no |
| http://tech.finn.no   | Java XSS Filter |


Mime
View raw message