GitHub – drewnoakes/string-theory: Identify and reduce memory used by duplicate .NET strings
Posted by jpluimers on 2021/01/19
[WayBack] GitHub – drewnoakes/string-theory: Identify and reduce memory used by duplicate .NET strings:
Identifies opportunities to improve heap memory consumption by strings.
Finds duplicate strings and provides ways to see what object graphs are keeping them alive.
Once you identify a suspicious referrer, you can query to see what other strings it is holding across the whole heap, and the total number of wasted bytes.
Cool tool to help trim down .NET string memory usage.
Via: [WayBack] drewnoakes on Twitter: “This week I published #StringTheory, a tool for analysing and reducing the memory used by strings on the managed .NET heap. We are using it to improve @VisualStudio performance, with encouraging results so far. Try it on your apps!”
–jeroen
Leave a Reply