| Author |
Message |
tperri
Joined: 03 May 2010 Posts: 3 Location: Nevada
|
Posted: Tue Jul 20, 2010 11:05 pm Post subject: need some help with my profile |
|
|
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! |
|
| Back to top |
|
 |
nick.maidment
Joined: 29 Jan 2010 Posts: 74
|
Posted: Thu Jul 22, 2010 10:13 am Post subject: |
|
|
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_memory_profiler/video.htm
While they are not necessarily specific to wpf, the principles behind them can be utilized in the same way. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group