| Author |
Message |
mlaban
Joined: 01 Apr 2011 Posts: 1
|
Posted: Fri Apr 01, 2011 6:42 pm Post subject: Finding out what the GC cleared the most? |
|
|
Hello,
I noticed that my app is allocating lots of small value types and that causes the garbage collector to run a bit more than I'd like it to.
Is there a way in the memory profiler to figure out what the collected objects were? I can only figure out what is still in memory.
My app is a game and I'm suspecting the allocations of all those value types during the update/render methods which are run at 60fps, so I can't really make snapshots before and after the methods...
Thanks! |
|
| Back to top |
|
 |
jrg
Joined: 02 Jul 2010 Posts: 13
|
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6343 Location: Red Gate Software
|
Posted: Mon Apr 04, 2011 12:05 pm Post subject: |
|
|
I take it since you can't take snapshots, you need an alternate way of getting Garbage Collection stats? Maybe Windbg/sos can help? _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| 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