SignalR Memory Leak

we have ASP.NET WebApi with a SignalR hub running on two servers with a Redis backplane. Usually our api consumes 3 GB - 4 GB of memory, but sometimes it happens that there is a burst of hugh memory up to 20 GB. I don’t know the reason yet, but I assume that this can happen when there are problems with the redis connection (this is very rare).

I analyzed the dump file and found the following tips: enter image description here

enter image description here

Honestly, I do not understand. It seems like it has something to do with exception handling, but I don't understand why the byte arrays are so big.

I am looking for ideas on how to solve and have hope that something has the same problem.

+6
source share

All Articles