| Author |
Message |
RobCrockett
Joined: 24 Sep 2010 Posts: 2
|
Posted: Fri Sep 24, 2010 7:34 pm Post subject: How can I view uncollected memory? |
|
|
I have a service that quickly jumps to 225M. When the GC runs it drops to about 13M and then quickly jumps in size again. When I take a snap shot it collects the garbage and so I cannot see where the problem is. _________________ Rob |
|
| Back to top |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 454
|
Posted: Mon Sep 27, 2010 4:01 pm Post subject: |
|
|
| I don't think the memory profiler tool will help you here. |
|
| Back to top |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 454
|
|
| Back to top |
|
 |
melvyn.harbour
Joined: 15 Mar 2010 Posts: 28
|
Posted: Mon Sep 27, 2010 5:46 pm Post subject: |
|
|
You probably haven't really got a problem at all. Your application, being a service, is running in Server GC mode. If there was contention for your memory, the GC would run, clean things up and then you would push on again.
You need to look and see whether you are actually experiencing any problems, rather than just that number looking large.
Mel _________________ Melvyn Harbour
Project Manager
.NET Tools Division |
|
| Back to top |
|
 |
RobCrockett
Joined: 24 Sep 2010 Posts: 2
|
Posted: Mon Sep 27, 2010 8:52 pm Post subject: Found the problem |
|
|
We were allocating a very large buffer for a file read. It was some test code that got left in the source.
I appreciate all the input.
Rob _________________ Rob |
|
| 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