Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1362

Memory Leak with millions of HostConnectionPoolStage Slot instances

$
0
0

We have a service that makes outgoing http requests using
Http().singleRequest(request)

We are experiencing memory leak with constantly increasing heap usage, retained, and a heap dump shows more than 14 million instances of akka.http.impl.engine.client.pool.NewHostConnectionPool$HostConnectionPoolStage$$anon$1$Slot.

Our service has probably made only a few hundred thousands http requests total, at most, and all to the same host.

Any advice how to avoid the memory leak?

We are using Scala 2.12, Akka 2.6.4, Akka Http 10.1.12

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1362

Trending Articles