akkadotnet / akka.net

Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
http://getakka.net
Other
4.69k stars 1.04k forks source link

Akka.Remote memory leak #1556

Closed Aaronontheweb closed 8 years ago

Aaronontheweb commented 8 years ago

Been able to demonstrably reproduce it inside some of the NBench specifications where larger numbers of messages are being sent over the wire.

I believe this is the root cause behind #1498 and #1506

Aaronontheweb commented 8 years ago

BTW, was able to reproduce this leak using Akka.Remote 1.0 binaries - this problem has existed for a while then.

Aaronontheweb commented 8 years ago

Collecting some memory and heap dumps using DebugDiag: http://blogs.msdn.com/b/debugdiag/archive/2013/10/03/debugdiag-2-0-is-now-rtw.aspx

Aaronontheweb commented 8 years ago

Alright, got this one solved. Turns out it was an issue with the TestTransport and simply not ejecting the logs between benchmark runs within 1 process. However, still need to get to the bottom of #1506.