cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harald Falzberger <>
Subject OutOfMemory Exception during bootstrap
Date Sun, 04 Dec 2011 17:38:21 GMT

I'm trying to set up a test environment with 2 nodes on one physical
machine with two ips. I configured both as adviced in the

cluster_name: 'MyDemoCluster'
initial_token: 0
- seeds: "IP1"
listen_address: IP1
rpc_address: IP1

cluster_name: 'MyDemoCluster'
initial_token: 85070591730234615865843651857942052864
- seeds: "IP1"
listen_address: IP2
rpc_address: IP2

Node1 uses 7199 as JMX port, Node2 7198 because JMX by default is
listening on all interfaces.

When I bootstrap node2, on node1 following exception is thrown and
node1 terminates. the same error occurs again if I try to restart
node1 and node2 is still running.

Does anyone of you have an idea why this happens? I'm starting each
cassandra instance with 16GB RAM and my database is empty.

Exception on Node1
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(
at java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(
at java.util.concurrent.ThreadPoolExecutor.prestartAllCoreThreads(
at org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor.<init>(
at org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor.<init>(
at org.apache.cassandra.concurrent.StageManager.multiThreadedStage(
at org.apache.cassandra.concurrent.StageManager.<clinit>(

View raw message