-
Notifications
You must be signed in to change notification settings - Fork 95
The ReactiveConnectionPoolProvider implementation is leaking threads #129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Probably related to the new schema export stuff. In which case it won't affect the runtime. |
Turns out I have the same problem even with databases turned on - it just takes longer to appear. I'll try to get a profiler connected |
you guessed right, threads are stuck on:
Why wouldn't this affect runtime? but also, how am I supposed to launch the tests? |
You don't run hundreds of schema exports at runtime. |
Even if it's just one, we can't have a thread stuck forever? Anyway, my OOM seems caused by running it with JDK8: with JDK11 it works. |
It's actually only the schema dropper that has a problem, and that's probably because of how the session factory gets closed within the test suite. If I set:
in |
Pretty sure this is fixed now. |
Thanks. I still have OOMs when building with JDK8 though - I can't investigate now, I'll see if I can diagnose it an evening. |
Ok, I was able to figure it out - I'll send a PR later. |
Changed the title as the problem was in the actual runtime code |
When I forget to start the database and then run all integration tests, I see errors like these being logged repeatedly:
I haven't verified my theory but in my experience this makes me suspect that the testsuite is leaking threads. If it's "just" the testsuite in these conditions that might not be critical, but I wonder if it could affect regular runtime.
The text was updated successfully, but these errors were encountered: