If a event is not GC'd something has a hard ref to it. The profiler can help by showing you back references. Maybe you can post the event code and how its created and dispatched?
Douglas Knudsen http://www.cubicleman.com this is my signature, like it? On Wed, Oct 29, 2008 at 5:48 PM, <[EMAIL PROTECTED]> wrote: > I am developing some protocol code that may generate 20 events a second. > The examples I've seen dispatch a new event each time but when I run this > approach in the profiler It looks like I have a memory leak and the event > object is the one that ends up dominating the memory with instances. > > Why is my event sticking around after the completion of the event handler. > > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in > the subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by FusionLink <http://www.fusionlink.com> > ------------------------------------------------------------- ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
