Red Gate forums :: View topic - Code on stack
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

Code on stack

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



Joined: 31 May 2012
Posts: 1

PostPosted: Thu May 31, 2012 7:17 am    Post subject: Code on stack Reply with quote

While profiling my application, I see that a disposed object is retained because inspite of clearing the event handlers subscriptions, the current code is on stack and because of this the instance is tied & cannot be reclaimed. As per Instance Retention Graph, i see that the object falls under this category:
The object under this one in the graph is a GC root because it is on the stack, having been put on the stack by bz.d().
How can I ensure that the object is reclaimed?
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1121
Location: My desk.

PostPosted: Fri Jun 01, 2012 10:36 am    Post subject: Reply with quote

Thanks for your post.

Based on the information supplied I'm afraid we can't possibly make any suggestion - we don't know anything about your application and we've not seen the results from your profiling.

I'm happy to take a look at your profiling results, if you can zip them up and email them to support@red-gate.com quoting F0060481 in the subject line. Once we see the results, we may be able to make some suggestions of where you should look.
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