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: 

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.
source share