Installing the JNA on Debian or Ubuntu Systems
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. The latest version is recommended.
$ sudo apt-get install libjna-java
- Download the jna.jar from https://github.com/twall/jna.
- Remove older versions of the JNA from the /usr/share/java/ directory.
- Place the new jna.jar file in /usr/share/java/ directory.
- Create a symbolic link to the file:
ln -s /usr/share/java/jna.jar install_location/lib
Attention: Be sure this document version matches your product version