takezoe / solr-scala-client

Solr Client for Scala
Apache License 2.0
91 stars 43 forks source link

Leaking response bodies from OkHttp #47

Closed maqdev closed 6 years ago

maqdev commented 6 years ago

Under heavy load I'm getting exceptions

okhttp3.OkHttpClient                A connection to ... was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);

I belive the problem is that Response from OkHttp is Closeable and should be released ASAP.