What can happend if someone use 32GB not 31 GB?
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
@dmngaya 32GB of heap can fit less objects in it than a 31GB heap due to the way the Java VM object addresses get allocated in a 64-bit system. It's a quirk of Java's memory management.
If you're interested, this blogpost on blog.codecentric.de has sample code and a more detailed explanation of why you can't use the extra space in heap sizes between 31GB and ~45GB. Cheers!
6 People are following this question.