cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lev Stesin <lev.ste...@gmail.com>
Subject OutOfMemoryError
Date Thu, 03 Jun 2010 17:35:35 GMT
Hi,

I am getting OOM during load tests:

java.lang.OutOfMemoryError: Java heap space
	at java.util.HashSet.<init>(HashSet.java:125)
	at com.google.common.collect.Sets.newHashSetWithExpectedSize(Sets.java:181)
	at com.google.common.collect.HashMultimap.createCollection(HashMultimap.java:112)
	at com.google.common.collect.HashMultimap.createCollection(HashMultimap.java:47)
	at com.google.common.collect.AbstractMultimap.createCollection(AbstractMultimap.java:155)
	at com.google.common.collect.AbstractMultimap.getOrCreateCollection(AbstractMultimap.java:207)
	at com.google.common.collect.AbstractMultimap.put(AbstractMultimap.java:194)
	at com.google.common.collect.AbstractSetMultimap.put(AbstractSetMultimap.java:80)
	at com.google.common.collect.HashMultimap.put(HashMultimap.java:47)
	at org.apache.cassandra.locator.AbstractReplicationStrategy.getHintedEndpoints(AbstractReplicationStrategy.java:87)
	at org.apache.cassandra.service.StorageProxy.mutateBlocking(StorageProxy.java:204)
	at org.apache.cassandra.thrift.CassandraServer.doInsert(CassandraServer.java:451)
	at org.apache.cassandra.thrift.CassandraServer.insert(CassandraServer.java:361)
	at org.apache.cassandra.thrift.Cassandra$Processor$insert.process(Cassandra.java:1484)
	at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:1125)
	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:253)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)

Any suggestions as to how to fix/ease the problem? Thanks.

-- 
Lev

Mime
View raw message