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 scrip
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 wrote
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 h
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
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 en
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 warnin
...@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
> 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] 201
(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,26
p 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 CassandraDaemon.ja
4-28 13:21: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
> 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:7,5,main]
> java.lang.OutOfMemoryError: Java heap space
> ERROR [ReadStage:4] 2010-11-24 22:38:49,5
ERROR [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[Read
t; 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 o
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 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 a
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
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 wrote:
> Hi,
>
> I wrote 200k records to db with each record 5MB. Get this error when I uses
> 3 threads (each threa
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 ar
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. I
47570:false:8...@1272668511
> ,])])
> applied. Sending response to 969767@/10.1.29.22
> ERROR [COMPACTION-POOL:1] 2010-04-30 16:02:27,295
> DebuggableThreadPoolExecutor.java (line 94) Error in executor
> futuretask
> java.util.concurrent.ExecutionException: java.lang.OutOfMemor
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
Source)
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
Hello. I have a six node cassandra cluster running on modest hardware
with 1G of heap assigned to cassandra. After 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
23 matches
Mail list logo