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:
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 |
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. answered 09 Feb '14, 21:08 phasebash |
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.