need some help with my profile

Memory profiling for .NET developers

Moderators: StephenC, Alex.Davies, AndrewH, melvyn.harbour

need some help with my profile

Postby tperri » Tue Jul 20, 2010 11:05 pm

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!
tperri
 
Posts: 3
Joined: Mon May 03, 2010 9:00 am
Location: Nevada

Postby nick.maidment » Thu Jul 22, 2010 10:13 am

Please can you save your results and email them to support @ red-gate.com with the reference F0036950 in the subject line?

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.
nick.maidment
 
Posts: 74
Joined: Fri Jan 29, 2010 1:55 pm


Return to ANTS Memory Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests