A possibility: https://www.nickebbitt.com/blog/2022/01/26/the-story-of-a-java-17-native-memory-leak/
suggests workaround -XX:-UseStringDeduplication https://bugs.openjdk.org/browse/JDK-8277981 https://github.com/openjdk/jdk/pull/6613 which may be in Java 17.0.2 Andy
