lhotari opened a new pull request, #15909: URL: https://github.com/apache/pulsar/pull/15909
### Motivation Whenever an OutOfMemoryError happens in a unit test, it's very hard to diagnose without a heap dump. This PR makes changes in the build and CI to collect heap dumps when OutOfMemoryError happens in unit tests. ### Modifications - Add `XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp` to test JVM args - Upload `/tmp/*.hprof` files to GitHub Actions artifacts -- 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]
