Closed
Description
After updating the Play codebase to AHC 2.0-alpha9, I've started to experience issues with non terminating tests because of OutOfMemoryException
. Until today, I wrongly assumed this was caused by the changes I made in AHC to support reactive streams, but the assumption turned out to be wrong. In fact, I can reproduce even by using AHC 2.0-alpha8, which doesn't include the reactive stream support.
Here is a link to the truly long thread dump demonstrating that AHC 2.0-alpha8 is leaking threads
https://gist.github.com/dotta/6e388962cf0d904e8170
This issue is currently preventing playframework/playframework#5082 to successfully build.