Changing the stack size and memtable space
Some Solr users have reported that increasing the stack size improves performance under Tomcat.
To increase the stack size, uncomment and modify the default -Xss256k setting in the cassandra-env.sh file.
Additionally, decreasing memtable_space_in_mb in the cassandra.yaml file might improve performance by allowing more space for Solr caches.