Red Gate forums :: View topic - How can I view uncollected memory?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 6
ANTS Performance Profiler 6 forum

How can I view uncollected memory?

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
RobCrockett



Joined: 24 Sep 2010
Posts: 2

PostPosted: Fri Sep 24, 2010 7:34 pm    Post subject: How can I view uncollected memory? Reply with quote

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
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 591

PostPosted: Mon Sep 27, 2010 4:01 pm    Post subject: Reply with quote

I don't think the memory profiler tool will help you here.
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 591

PostPosted: Mon Sep 27, 2010 4:03 pm    Post subject: Reply with quote

You may find this little puppy more helpful:

http://labs.red-gate.com/index.php/Red_Gate_Memory_Tracker
Back to top
View user's profile Send private message
melvyn.harbour



Joined: 15 Mar 2010
Posts: 28

PostPosted: Mon Sep 27, 2010 5:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
RobCrockett



Joined: 24 Sep 2010
Posts: 2

PostPosted: Mon Sep 27, 2010 8:52 pm    Post subject: Found the problem Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic 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