Cassandra amd64 images have broken java runtime. 3.11.15 works just fine and starting with 3.11.16 all images seem broken. "focal" to "jammy" update might be the cause. arm64 isn't affected, amd64 only.
$ docker run --rm cassandra:3.11.16 java
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
# An error report file with more information is saved as:
# //hs_err_pid1.log
$ uname -a
Linux runner-dw3mthb5-project-1637-concurrent-0-fskop8ub 4.14.330-250.540.amzn2.x86_64 #1 SMP Tue Nov 21 09:57:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux