How a memtable goesout of jvm heap memory?
Bringing together the Apache Cassandra experts from the community and DataStax.
Want to learn? Have a question? Want to share your expertise? You are in the right place!
Not sure where to begin? Getting Started
[EDITED] Memtables are data structures stored on the JVM heap.
If you configure set memtable_allocation_type: offheap_objects
, the memtable pool will be allocated from the available off-heap space. Otherwise, it will be allocated from the available heap. Cheers!
My initial understanding was Memtables will reside on JVM heap only but cassandra.yaml has memtable_heap_space_in_mb and memtable_offheap_space_in_mb properties because of which I got confused.
[Answer converted to a comment]
You should have asked that question instead. Let me update my response. Cheers!
5 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2022 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use