WebFaction
Community site: login faq

Hi

I am trying to install the reddit installation guide][1] on the webfaction blog. When I try to start cassandra y get an out of memory error:

    at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:490)

java.lang.OutOfMemoryError: unable to create new native thread

Has anyone been able to limit Cassandra's memory to run on a basic 256mb plan?

asked 27 Aug '13, 23:42

DanielS
112
accept rate: 0%

This is a broad generalization, but our experience has been that java applications often do require relatively high amounts of memory, so we wouldn't be too surprised if it was indeed infeasible to run the application within 256MB of application memory.

(28 Aug '13, 04:11) ryans ♦♦

You will need to tune the JVM to fit within 256MB of RAM. I would recommend you first read about tuning JVM memory: http://docs.oracle.com/cd/E13222_01/wls/docs81/perform/JVMTuning.html

In short, set the sum of max heap and max perm gen to be 256MB or less.

permanent link

answered 09 Feb '14, 21:08

phasebash
111
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×87
×2
×1
×1

question asked: 27 Aug '13, 23:42

question was seen: 3,592 times

last updated: 09 Feb '14, 21:08

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM