Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak in Nimbus.Infrastructure.Dispatching.SubsequentDispatchContext #267

Closed
HEskandari opened this issue Feb 14, 2017 · 1 comment

Comments

@HEskandari
Copy link

I have an app with creeping memory usage over time, and by that I mean with the rate of 200/300 message per second you can visibility see the memory usage grow in task manager. It gets to a point that the message processing rate drops and eventually the process comes to a halt.

Upon getting some dumps and comparing them, I can see the number of Nimbus.Infrastructure.Dispatching.SubsequentDispatchContext grow substantially over time.

This is from a memory dump:

Count TotalSize Class Name
162281 6491240 Nimbus.Infrastructure.Dispatching.SubsequentDispatchContext

Any ideas what might be causing this? I'm using Nimbus 2.0.0.98.

@teyc
Copy link
Contributor

teyc commented Feb 23, 2017

I've been chasing this too. This line looks suspicious?

https://github.com/NimbusAPI/Nimbus/blob/master/src/Nimbus/ConcurrentCollections/ThreadSafeDictionary.cs#L55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants