Re: java.lang.OutOfMemoryError: Java heap space

2016-06-13 Thread Tobin Landricombe
Hi Ben, We're using the akka persistence layer which doesn't give me much scope for remodelling data. So, on the assumption that the guys who wrote the persistence layer knew what they were doing, I followed your suggestion to increase RAM (still only to a miserly 8gig, which the startup

Re: java.lang.OutOfMemoryError: Java heap space

2016-06-11 Thread Ben Slater
I should add - there is probably an option (c) of fiddling with a bunch of tuning parameters to try to nurse things through with your current config but I’m not sure that’s useful unless you really need to make the current set up work for some reason. On Sun, 12 Jun 2016 at 15:23 Ben Slater

Re: java.lang.OutOfMemoryError: Java heap space

2016-06-11 Thread Ben Slater
Hi Tobin, 4G RAM is a pretty small machine to be using to run Cassandra. As I mentioned, 8G of heap is the normal recommendation for a production machine which means you need at least 14-16G total (and can get performance benefit from more). I agree disk space doesn’t look to really be an issue

Re: java.lang.OutOfMemoryError: Java heap space

2016-06-11 Thread Tobin Landricombe
Hi Ben, I think the degraded mode is caused by one or both of these... • WARN [main] 2016-06-10 14:23:01,690 StartupChecks.java:118 - jemalloc shared library could not be preloaded to speed up memory allocations • WARN [main] 2016-06-10 14:23:01,691 StartupChecks.java:150 - JMX

Re: java.lang.OutOfMemoryError: Java heap space

2016-06-10 Thread Ben Slater
The short-term fix is probably to try increasing heap space (in cassandra-env.sh). 8GB in the most standard but more may help in some circumstances. That said, your logs are pointing to a number of other issues which won’t be helping and probably need to be fixed for long-term stability: - swap

java.lang.OutOfMemoryError: Java heap space

2016-06-10 Thread Tobin Landricombe
Hi, I've been googling various parts of this all day but none of the suggestions seem to fit. I have 2 nodes, one of which is a seed. I'm trying to add a third node but, after a few minutes in the UJ state, the node dies with the above error (http://pastebin.com/iRvYfuAu). Here are the

java.lang.OutOfMemoryError: Java heap space

2014-04-28 Thread Gary Zhao
:05,091 ThriftServer.java (line 141) Stop listening to thrift clients ERROR [GossipStage:4] 2014-04-28 13:11:59,877 CassandraDaemon.java (line 196) Exception in thread Thread[GossipStage:4,5,main] java.lang.OutOfMemoryError: Java heap space ERROR [ACCEPT-/10.20.132.44] 2014-04-28 13:06:10,261

Re: java.lang.OutOfMemoryError: Java heap space

2014-04-28 Thread Gary Zhao
ERROR [GossipStage:4] 2014-04-28 13:11:59,877 CassandraDaemon.java (line 196) Exception in thread Thread[GossipStage:4,5,main] java.lang.OutOfMemoryError: Java heap space ERROR [ACCEPT-/10.20.132.44] 2014-04-28 13:06:10,261 CassandraDaemon.java (line 196) Exception in thread Thread[ACCEPT

Re: java.lang.OutOfMemoryError: Java heap space

2014-04-28 Thread Prem Yadav
(line 196) Exception in thread Thread[GossipStage:4,5,main] java.lang.OutOfMemoryError: Java heap space ERROR [ACCEPT-/10.20.132.44] 2014-04-28 13:06:10,261 CassandraDaemon.java (line 196) Exception in thread Thread[ACCEPT-/ 10.20.132.44,5,main] java.lang.OutOfMemoryError: Java heap space

Re: java.lang.OutOfMemoryError: Java heap space

2014-04-28 Thread Gary Zhao
: Java heap space ERROR [ACCEPT-/10.20.132.44] 2014-04-28 13:06:10,261 CassandraDaemon.java (line 196) Exception in thread Thread[ACCEPT-/ 10.20.132.44,5,main] java.lang.OutOfMemoryError: Java heap space ERROR [GossipStage:3] 2014-04-28 12:54:02,116 CassandraDaemon.java (line 196) Exception

RE: java.lang.OutOfMemoryError: Java heap space

2014-04-28 Thread Arindam Barua
...@gmail.com] Sent: Monday, April 28, 2014 5:34 PM To: user@cassandra.apache.org Subject: Re: java.lang.OutOfMemoryError: Java heap space Yes, they are virtual machines, but we are using KVM. Is there any solutions for this issue or we should use physical machines? On Mon, Apr 28, 2014 at 10:38

java.lang.OutOfMemoryError: Java heap space

2010-11-24 Thread zangds
[ReadStage:3] 2010-11-24 22:38:33,075 AbstractCassandraDaemon.java (line 89) Fatal exception in thread Thread[ReadStage:3,5,main] java.lang.OutOfMemoryError: Java heap space ERROR [ReadStage:7] 2010-11-24 22:38:49,581 AbstractCassandraDaemon.java (line 89) Fatal exception in thread Thread[ReadStage

Re: java.lang.OutOfMemoryError: Java heap space

2010-11-24 Thread Jonathan Ellis
] java.lang.OutOfMemoryError: Java heap space ERROR [ReadStage:7] 2010-11-24 22:38:49,581 AbstractCassandraDaemon.java (line 89) Fatal exception in thread  Thread[ReadStage:7,5,main] java.lang.OutOfMemoryError: Java heap space ERROR [ReadStage:4] 2010-11-24 22:38:49,581 AbstractCassandraDaemon.java (line 89

Re: java.lang.OutofMemoryerror: Java heap space

2010-06-15 Thread Jonathan Ellis
if you are reading 500MB per thrift request from each of 3 threads, then yes, simple arithmetic indicates that 1GB heap is not enough. On Mon, Jun 14, 2010 at 6:13 PM, Caribbean410 caribbean...@gmail.com wrote: Hi, I wrote 200k records to db with each record 5MB. Get this error when I uses 3

RE: java.lang.OutofMemoryerror: Java heap space

2010-06-15 Thread caribbean410
Sorry, the record size should be 5KB not 5MB. Coz 4KB is still OK. I will try Benjamin's suggestion. -Original Message- From: Jonathan Ellis [mailto:jbel...@gmail.com] Sent: Tuesday, June 15, 2010 8:09 AM To: user@cassandra.apache.org Subject: Re: java.lang.OutofMemoryerror: Java heap

Re: java.lang.OutofMemoryerror: Java heap space

2010-06-15 Thread Benjamin Black
changes take effect. -Original Message- From: Benjamin Black [mailto:b...@b3k.us] Sent: Monday, June 14, 2010 7:46 PM To: user@cassandra.apache.org Subject: Re: java.lang.OutofMemoryerror: Java heap space My guess: you are outrunning your disk I/O.  Each of those 5MB rows gets written

java.lang.OutofMemoryerror: Java heap space

2010-06-14 Thread Caribbean410
Hi, I wrote 200k records to db with each record 5MB. Get this error when I uses 3 threads (each thread tries to read 200k record totally, 100 records a time) to read data from db. The write is OK, the error comes from read. Right now the Xmx of JVM is 1GB. I changed it to 2GB, still not working.

Re: java.lang.OutofMemoryerror: Java heap space

2010-06-14 Thread Benjamin Black
My guess: you are outrunning your disk I/O. Each of those 5MB rows gets written to the commitlog, and the memtable is flushed when it hits the configured limit, which you've probably left at 128MB. Every 25 rows or so you are getting memtable flushed to disk. Until these things complete, they

Re: cassandra 0.5.1 java.lang.OutOfMemoryError: Java heap space issue

2010-04-30 Thread elsif
: java.lang.OutOfMemoryError: Java heap space at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source

Re: cassandra 0.5.1 java.lang.OutOfMemoryError: Java heap space issue

2010-04-30 Thread Eric Yu
(line 94) Error in executor futuretask java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown

Re: cassandra 0.5.1 java.lang.OutOfMemoryError: Java heap space issue

2010-04-26 Thread Jonathan Ellis
inserting about 245 million rows of data, cassandra failed with a java.lang.OutOfMemoryError: Java heap space error.  I rasied the java heap to 2G, but still get the same error when trying to restart cassandra. I am using Cassandra 0.5.1 with Sun jre1.6.0_18. Any thoughts on how to resolve