The org.fusesource.jansi.internal.JansiLoader.cleanup() method may throw an OutOfMemory error if your /tmp/ directory has a large number of directories. With Xmx set to 16MB, 250,000 directories reproduced the error on my ubuntu 24 system.
Exception in thread "cleanup" java.lang.OutOfMemoryError: Java heap space
at java.base/java.io.UnixFileSystem.list(Native Method)
at java.base/java.io.File.normalizedList(File.java:1176)
at java.base/java.io.File.listFiles(File.java:1310)
at org.fusesource.jansi.internal.JansiLoader.cleanup(JansiLoader.java:113)
The
org.fusesource.jansi.internal.JansiLoader.cleanup()method may throw an OutOfMemory error if your/tmp/directory has a large number of directories. WithXmxset to 16MB, 250,000 directories reproduced the error on my ubuntu 24 system.