Red Gate forums :: View topic - leakage or no leakage
Return to RSS Feed Available

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

leakage or no leakage

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

Joined: 30 May 2012
Posts: 1

PostPosted: Wed May 30, 2012 2:44 pm    Post subject: leakage or no leakage Reply with quote

i have an app that shows a foot print in task manager of around 150K when it starts. Over the next 10 to 20 mins or so it climbs to about 500K and then drops back down to 250k. this then climbs to ~500k and then drops back to 250k.
It doesn't seem like a memory leak since gc seems to be happening occassionally to bring the foot print back down, but i'm trying to undersand what may be going on here to cause the signifant increase over time and why it takes so long for gc to clean up.

After running ant and take some snapshots i see that between snapshots, there is not that much of a difference in size(initial size is about 47.1MB and after the 2nd snapshot, its about 47.8MB). I do see large number of records in gen2 from the get go however (about 47.5mb).

any advice on what may be happening here and how to understand better?
Back to top
View user's profile Send private message

Joined: 12 Mar 2009
Posts: 594

PostPosted: Thu May 31, 2012 4:58 pm    Post subject: Reply with quote

All I can recommend is that you go through all our help on the memory profiler and this should point out some candidates for perhaps an overuse of the gc. Maybe you can refactor yor code such that objects don't hang around for any longer than they really need to (avoiding a generational problem). More than that, I really cannot say. We (red gate support) can, if we have enough time, take a look at profile results and analyse but please make sure it contains lots of data (snapshots).
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