Installing the JNA using the binary tarball
Installing JNA can improve Cassandra memory usage.
Installing JNA can improve Cassandra memory usage. When installed and configured, Linux does not swap out the JVM, and thus avoids related performance issues.
- Download jna.jar from https://github.com/twall/jna.
- Add jna.jar to install_location/resources/dse/lib (or place it in the CLASSPATH).
Add the following lines in the /etc/security/limits.conf
file for the user/group that runs Cassandra:
$USER soft memlock unlimited $USER hard memlock unlimited