[ https://issues.apache.org/jira/browse/CASSANDRA-19239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17809924#comment-17809924 ]
Jacek Lewandowski commented on CASSANDRA-19239: ----------------------------------------------- I think I have some idea for this mystery. Java 17 uses G1GC and G1GC is known for using more memory that declared. But it is not important in this case. We have {{G1HeapRegionSize=16m}} in G1 settings which is the problem. The region size large enough to cause 30% greater heap usage in case of that particular test. Another problem, which can be also responsible for simulation tests failures is that we force set 1G heap size for tests regardless any Xmx parameters defined for particular test tasks. I'm going to fix all of those issues and we will see. > jvm-dtests crash on java 17 > --------------------------- > > Key: CASSANDRA-19239 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19239 > Project: Cassandra > Issue Type: Bug > Components: Test/dtest/java > Reporter: Jacek Lewandowski > Priority: Normal > Fix For: 5.x > > > This is a similar problem to the one mentioned in > https://issues.apache.org/jira/browse/CASSANDRA-15981 > I'm filling it because I've noticed the same problem on JDK17, perhaps we > should also disable unloading classes with CMS for JDK17. > However, I'm in favour of moving tests to G1 instead. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org