Red Gate forums :: View topic - Memory profiler fails on large memory snapshot
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler 7
ANTS Memory Profiler 7 forum

Memory profiler fails on large memory snapshot

Search in ANTS Memory Profiler 7 forum
Post new topic   Reply to topic
Jump to:  
Author Message
rnbguru



Joined: 29 Mar 2011
Posts: 4

PostPosted: Tue Mar 29, 2011 5:27 pm    Post subject: Memory profiler fails on large memory snapshot Reply with quote

I have a wcf service I am trying to watch through ants profiler 7. The service grows rapidly, as I am trying to identify a memory leak. Within two minutes, it grows to two gig of memory. When I then click take a snapshot in ants profiler, the profiler spins with "taking a snapshot this may take a few minutes" for upward of an hour. Unfortunately, I had to kill the process at the hour mark as it was hurting a production level box.

Looking at the machine's cpu/memory usage during the hour of the snapshot, the cpu went from running at 80% while profiling to a flatline of 10% while it was taking the snapshot. What's more, the memory dropped the full two gigs 20 minutes into the snapshot. These two things combined make me believe the profiler stopped taking the snapshot and simply spun after that point.

Do you have any idea what might be causing this?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6580

PostPosted: Thu Mar 31, 2011 11:43 am    Post subject: Reply with quote

All I can suggest is there is not enough memory to deal with all of the results data.
Back to top
View user's profile Send private message
rnbguru



Joined: 29 Mar 2011
Posts: 4

PostPosted: Thu Mar 31, 2011 2:19 pm    Post subject: Reply with quote

Do you know how much memory loading the results takes? Is it roughly one to one with the size of the process memory?

Also, would there be a way to then instead, simply dump the screenshot to file bypassing memory, so I could possibly load it on another box where memory might be more readily available to render it all?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6580

PostPosted: Thu Mar 31, 2011 4:14 pm    Post subject: Reply with quote

Apparently it has to do with the number of objects being tracked more than anything -- about 50 million seems to get things going slowly. Results woul obviously be better on x64 (profiling a 64-bit app as well, I suppose).
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