Cassandra OutOfMemoryError

2019-07-25 Thread raman gugnani
Hi I am using Apace Cassandra version : [cqlsh 5.0.1 | Cassandra 3.11.2 | CQL spec 3.4.4 | Native protocol v4] I am running a 5 node cluster and recently added one node to the cluster. Cluster is running with G1 GC garbage collector with 16GB -Xmx. Cluster is having one materialised view also;

OutOfMemoryError in startup process

2017-01-09 Thread Yuji Ito
Hi all, I got OutOfMemoryError in startup process as below. I have 3 questions about the error. 1. Why did Cassandra built by myself cause OutOfMemory errors? OutOfMemory errors happened in startup process in some (not all) nodes on Cassandra 2.2.8 which I got from github and built by myself

Re: OutOfMemoryError when initializing a secondary index

2016-08-09 Thread Carlos Alonso
Initializing notifications_v1.notifications_tray > INFO 19:51:59 Initializing notifications_v1.notifications_tray. > notifications_tray_event_id > """ > > The instances spin for a long time then throw an OutOfMemoryError. > > I don't need to save this table, but I do need to save other keyspaces. Is > there any way I can get these nodes operational again? >

RE: Unable to start one Cassandra node: OutOfMemoryError

2015-12-17 Thread Walsh, Stephen
Glad to help :P From: Mikhail Strebkov [mailto:streb...@gmail.com] Sent: 10 December 2015 22:35 To: user@cassandra.apache.org Subject: Re: Unable to start one Cassandra node: OutOfMemoryError Steve, thanks a ton! Removing compactions_in_progress helped! Now the node is running again. p.s

Re: Unable to start one Cassandra node: OutOfMemoryError

2015-12-15 Thread Jack Krupansky
p cassandra with a drain command and >> wait for the compactions to finish. >> >> Last time we hit it – was due to testing HA when we forced killed an >> entire cluster. >> >> >> >> Steve >> >> >> >> >> >> >> >&g

Re: Unable to start one Cassandra node: OutOfMemoryError

2015-12-15 Thread Robert Coli
On Tue, Dec 15, 2015 at 4:41 PM, Jack Krupansky wrote: > Can a core Cassandra committer verify if removing the compactions_in_progress > folder is indeed to desired and recommended solution to this problem, or > whether it might in fact be a bug that this workaround is

Re: Unable to start one Cassandra node: OutOfMemoryError

2015-12-10 Thread Mikhail Strebkov
t; > *From:* Jeff Jirsa [mailto:jeff.ji...@crowdstrike.com] > *Sent:* 10 December 2015 02:49 > *To:* user@cassandra.apache.org > *Subject:* Re: Unable to start one Cassandra node: OutOfMemoryError > > > > 8G is probably too small for a G1 heap. Raise your heap or try CMS inste

Re: Unable to start one Cassandra node: OutOfMemoryError

2015-12-10 Thread Mikhail Strebkov
an > entire cluster. > > > > Steve > > > > > > > > *From:* Jeff Jirsa [mailto:jeff.ji...@crowdstrike.com] > *Sent:* 10 December 2015 02:49 > *To:* user@cassandra.apache.org > *Subject:* Re: Unable to start one Cassandra node: OutOfMemoryError > > &g

Re: Unable to start one Cassandra node: OutOfMemoryError

2015-12-10 Thread Carlos Rolo
>> >> >> >> This can happen if you didn’t stop cassandra with a drain command and >> wait for the compactions to finish. >> >> Last time we hit it – was due to testing HA when we forced killed an >> entire cluster. >> >> >> >> Steve &g

RE: Unable to start one Cassandra node: OutOfMemoryError

2015-12-10 Thread Walsh, Stephen
...@crowdstrike.com] Sent: 10 December 2015 02:49 To: user@cassandra.apache.org Subject: Re: Unable to start one Cassandra node: OutOfMemoryError 8G is probably too small for a G1 heap. Raise your heap or try CMS instead. 71% of your heap is collections – may be a weird data model quirk, but try CMS first

Unable to start one Cassandra node: OutOfMemoryError

2015-12-09 Thread Mikhail Strebkov
Hi everyone, While upgrading our 5 machines cluster from DSE version 4.7.1 (Cassandra 2.1.8) to DSE version: 4.8.2 (Cassandra 2.1.11) one of the nodes can't start with OutOfMemoryError. We're using HotSpot 64-Bit Server VM/1.8.0_45 and G1 garbage collector with 8 GiB heap. Average node size

Re: Unable to start one Cassandra node: OutOfMemoryError

2015-12-09 Thread Jeff Jirsa
er 9, 2015 at 5:26 PM To: "user@cassandra.apache.org" Subject: Unable to start one Cassandra node: OutOfMemoryError Hi everyone, While upgrading our 5 machines cluster from DSE version 4.7.1 (Cassandra 2.1.8) to DSE version: 4.8.2 (Cassandra 2.1.11) one of the nodes can't start wi

Re: Cassandra 1.2 : OutOfMemoryError: unable to create new native thread

2013-12-18 Thread Oleg Dulin
I figured it out. Another process on that machine was leaking threads. All is well! Thanks guys! Oleg On 2013-12-16 13:48:39 +, Maciej Miklas said: the cassandra-env.sh has option JVM_OPTS=$JVM_OPTS -Xss180k it will give this error if you start cassandra with java 7. So increase the

Re: Cassandra 1.2 : OutOfMemoryError: unable to create new native thread

2013-12-17 Thread Aaron Morton
Try using jstack to see if there are a lot of threads there. Are you using vNodea and Hadoop ? https://issues.apache.org/jira/browse/CASSANDRA-6169 Cheers - Aaron Morton New Zealand @aaronmorton Co-Founder Principal Consultant Apache Cassandra Consulting

Cassandra 1.2 : OutOfMemoryError: unable to create new native thread

2013-12-16 Thread Oleg Dulin
Hi guys! I beleive my limits settings are correct. Here is the output of ulimits -a: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i)

Re: Cassandra 1.2 : OutOfMemoryError: unable to create new native thread

2013-12-16 Thread Maciej Miklas
the cassandra-env.sh has option JVM_OPTS=$JVM_OPTS -Xss180k it will give this error if you start cassandra with java 7. So increase the value, or remove option. Regards, Maciej On Mon, Dec 16, 2013 at 2:37 PM, srmore comom...@gmail.com wrote: What is your thread stack size (xss) ? try

Bulk Loader - OutOfMemoryError: Java heap space

2013-07-31 Thread Ben Gambley
Hi All We are using Cassandra 1.2.4 and are seeing the following error loading a pretty small amount of data. Exception in thread main java.lang.OutOfMemoryError: Java heap space at org.apache.cassandra.utils.obs.OpenBitSet.init(OpenBitSet.java:76) at

Re: Server crashed due to OutOfMemoryError: Java heap space

2012-02-28 Thread Vitalii Tymchyshyn
a bug with patch on the issue. 24.02.12 23:14, Feng Qu ???(??): Hello, We have a 6-node ring running 0.8.6 on RHEL 6.1. The first node also runs OpsCenter community. This node has crashed few time recently with OutOfMemoryError: Java heap space while several compactions on few 200-300 GB

Re: Server crashed due to OutOfMemoryError: Java heap space

2012-02-26 Thread aaron morton
also runs OpsCenter community. This node has crashed few time recently with OutOfMemoryError: Java heap space while several compactions on few 200-300 GB SSTables were running. We are using 8GB Java heap on host with 96GB RAM. I would appreciate for help to figure out the root cause

Server crashed due to OutOfMemoryError: Java heap space

2012-02-24 Thread Feng Qu
Hello,  We have a 6-node ring running 0.8.6 on RHEL 6.1. The first node also runs OpsCenter community. This node has crashed few time recently with OutOfMemoryError: Java heap space while several compactions on few 200-300 GB SSTables were running. We are using 8GB Java heap on host with 96GB

Cassandra OutOfMemoryError

2010-11-18 Thread Nick Reeves
I was trying to get Cassandra 0.6.8 (latest stable release) going for the first time and my attempts at getting the example code to run caused Cassandra to die with out a JavaMemoryError just by connecting cassandra-cli to cassandra. java.lang.OutOfMemoryError: Java heap space at

Re: Cassandra OutOfMemoryError

2010-11-18 Thread Peter Schuller
Looking at the thrift code it is allocating arrays based on lengths read of the wire, without adequate validation of the length. This allows client errors to crash the server :( This is fixed with latest cassandra and current versions of thrift. I don't remember whether it was a thrift bug in

Re: Cassandra OutOfMemoryError

2010-11-18 Thread Jonathan Ellis
Step 0: don't use raw Thrift, use one of the clients from http://wiki.apache.org/cassandra/ClientOptions06 On Thu, Nov 18, 2010 at 10:49 AM, Nick Reeves n...@realvnc.com wrote: I was trying to get Cassandra 0.6.8 (latest stable release) going for the first time and my attempts at getting the

OutOfMemoryError

2010-06-03 Thread Lev Stesin
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

Re: OutOfMemoryError

2010-06-03 Thread Gary Dusbabek
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.ste...@gmail.com wrote: Hi, I am getting OOM during load tests: java.lang.OutOfMemoryError: Java

Re: OutOfMemoryError

2010-06-03 Thread Lev Stesin
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 gdusba...@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

Re: OutOfMemoryError

2010-06-03 Thread Gary Dusbabek
It's set in the build file: junit fork=on failureproperty=testfailed maxmemory=1024m timeout=@{timeout} But I'm not sure if you're using the build file or not. It kind of sounds like you are not. Gary. On Thu, Jun 3, 2010 at 11:24, Lev Stesin lev.ste...@gmail.com wrote: Gary, Is there a