actix-net: actix-rt: leaking memory in every request

I just compiled example from github and run apache benchmarks ab -n 1000000 -c 64 http://127.0.0.1:8001/test/john/index.html and memory was constantly growing. After 1 milion requests it was 3.1 GB of heap.

I could reproduce the same on my catalina macbook pro and linux server. It’s like every request is leaking few KB’s of memory.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 30 (16 by maintainers)

Commits related to this issue

Most upvoted comments

Maybe we can yank actix-rt:1.1.0 and release fixed version later on?

Thank you, I overlooked that no operator is the same as a caret. And the memory leak is fixed with this change!

Is there any way to force 1.0 to be used

version = "=1.0.0"

I agree yank it. Any point releasing the current version as 1.2.0-beta.1 for testing reasons?

ping @JohnTitor, thoughts on yanking?

Because I’m still debugging and I think I found out something.

It’s working fine with actix-rt 1.0 and leaking with actix-rt 1.1.