> I figured out the issue.  I'm using a VM and the template I had did not
configure enough virtual memory.  I'm not sure what the minimum is but 2048
seems to work.

Cassandra will use JNA to try to mlockall for all pages currently mapped to
the process address space. On very small systems (1024mb or ram or less),
this ends up being to large.

You can run with less than 1024M memory, you just have to set small min and
max heap sizes, remove the JNA library and include the
-Dcassandra.boot_without_jna=true flag on startup (for 2.1 since JNA is
included).

Just so it's said: you would, of course, only do this for very light
testing/experimentation.

--
-----------------
Nate McCall
Austin, TX
@zznate

Co-Founder & Sr. Technical Consultant
Apache Cassandra Consulting
http://www.thelastpickle.com

Reply via email to