| Author |
Message |
KartikLata
Joined: 31 May 2012 Posts: 1
|
Posted: Thu May 31, 2012 7:17 am Post subject: Code on stack |
|
|
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 |
|
 |
james.billings
Joined: 16 Jun 2010 Posts: 864 Location: My desk.
|
Posted: Fri Jun 01, 2012 10:36 am Post subject: |
|
|
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 |
|
 |
|
|
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