lhotari opened a new issue, #17714: URL: https://github.com/apache/pulsar/issues/17714
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Example failure https://github.com/apache/pulsar/actions/runs/3080021439/jobs/4976960591#step:10:1323 ### Exception stacktrace ``` Error: org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called? Error: Command was /bin/sh -c cd /home/runner/work/pulsar/pulsar/pulsar-broker && /usr/lib/jvm/temurin-17-jdk-amd64/bin/java -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -XX:+ExitOnOutOfMemoryError -Xmx1G -XX:+UseZGC -Dpulsar.allocator.pooled=true -Dpulsar.allocator.leak_detection=Advanced -Dpulsar.allocator.exit_on_oom=false -Dpulsar.allocator.out_of_memory_policy=FallbackToHeap -Dio.netty.tryReflectionSetAccessible=true --add-opens java.base/jdk.internal.loader=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/sun.net=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED -jar /home/runner/work/pulsar/pulsar/pulsar-broker/target/surefire/surefirebooter6285857233189930100.jar /home/runner/work/pulsar/pulsar/pulsar-broker/target/surefire 2022-09-19T05-08-13_830-jvmRun2 surefire82 24364011378699953tmp surefire_110551185120820105364tmp Error: Error occurred in starting fork, check output in log Error: Process Exit Code: 3 Error: at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone ``` heap dump uploaded to https://transfer.sh/whRQiJ/Unit-BROKER_GROUP_3-heapdump.zip thread dump extracted from heap dump https://gist.github.com/lhotari/6f056f053ca9a617692d24cde86bbd87 about 280 MB memory kept in mocks which are hanging on loadbalancer threads:  ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- 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]
