need some help with my profile
tperri
Posts: 5
I'm new to this memory-leak hunting, so please bare with me.
WPF app, C#.
In my snapshot analysis, I'm seeing 1711 classes, but only a few that concern me. And out of those, really, only one does - System.String
Live Size bytes are 506,824 (yowch)
Live Instances - 7880
Now, if I go to the Class Reference explorer, I see that 51% of my Strings belong to System.Object[].
48% are GC Roots, 4% Collections.ArrayList
I am at a loss on what to do next.
I did look at the list of my almost 8000 objects, I see things like multiple instances of items in my resx files - that really stood out at me. But I'm not sure where to go from here.
I appreciate any insight and direction that anyone can give me try to cut these string objects down.
Thank you so much!
WPF app, C#.
In my snapshot analysis, I'm seeing 1711 classes, but only a few that concern me. And out of those, really, only one does - System.String
Live Size bytes are 506,824 (yowch)
Live Instances - 7880
Now, if I go to the Class Reference explorer, I see that 51% of my Strings belong to System.Object[].
48% are GC Roots, 4% Collections.ArrayList
I am at a loss on what to do next.
I did look at the list of my almost 8000 objects, I see things like multiple instances of items in my resx files - that really stood out at me. But I'm not sure where to go from here.
I appreciate any insight and direction that anyone can give me try to cut these string objects down.
Thank you so much!
Comments
If you haven't seen them already, there are a whole bunch of tutorial videos here: http://www.red-gate.com/products/ants_m ... /video.htm
While they are not necessarily specific to wpf, the principles behind them can be utilized in the same way.