samueldlightfoot opened a new pull request, #286: URL: https://github.com/apache/cassandra-dtest/pull/286
Force GC before direct memory measurements for ZGC compatibility Generational ZGC (JDK 21 default) only processes PhantomReferences during major collections, which may not trigger during short test runs. This causes DirectByteBuffer Cleaners to not fire, leaving ~63MB of stale direct memory that inflates TOTAL_CAPACITY and fails the assertion. Force System.gc() via nodetool before each measurement to ensure a major collection runs and reference processing completes. CASSANDRA-21182 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

