[ 
https://issues.apache.org/jira/browse/CASSANDRA-19239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811206#comment-17811206
 ] 

Jacek Lewandowski commented on CASSANDRA-19239:
-----------------------------------------------

Hey, sorry for the delay. The context is that - when running this 
{{NativeTransportEncryptionOptionsTest}} test on 5.0 it passes, in the diagrams 
above you can see the heap memory usage over the whole test. It looks OK to me; 
the peak usage is far below 1GB max heap size. With G1GC in J17 tests, the 
memory usage is a bit greater, but this is unrelated to the topic.

On the charts for the trunk, however, you can find that the heap memory usage 
is greater; it actually nearly monotonically grows with subsequent test cases. 
It is not related to the metaspace, but I found it is correlated to the number 
of threads. I haven't attached a chart for that, though I saw the threads are 
started and stopped for individual test cases on 5.0, while some threads remain 
running on the trunk branch, and the total number of threads grows on average. 

This can also be verified by uncommenting the thread leak detector in the dtest 
cluster implementation.  


> 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
>            Assignee: Jacek Lewandowski
>            Priority: Normal
>             Fix For: 5.x
>
>         Attachments: image-2024-01-23-13-11-50-313.png, 
> image-2024-01-23-13-12-33-954.png, screenshot-1.png, screenshot-2.png
>
>
> 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

Reply via email to