incubator-cassandra-user mailing list archives

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

Is there a directive to set it? Or should I modify the cassandra
script itself? Thanks.

Lev.

On Thu, Jun 3, 2010 at 10:48 AM, Gary Dusbabek <gdusbabek@gmail.com> wrote:
> Are you running "ant test"?  It defaults to setting memory to 1G.  If
> you're running them outside of ant, you'll need to set max memory
> manually.
>
> Gary.
>
> On Thu, Jun 3, 2010 at 10:35, Lev Stesin <lev.stesin@gmail.com> wrote:
>> 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
>>
>



-- 
Lev

Mime
View raw message