Leaks When Running MultiThreaded (Even w/ AutoRelease Pool)
Leaks When Running MultiThreaded (Even w/ AutoRelease Pool)
- Subject: Leaks When Running MultiThreaded (Even w/ AutoRelease Pool)
- From: Philip Weaver <email@hidden>
- Date: Fri, 3 May 2002 20:35:59 -0500
My application behaves *leak-free* when run single-threaded.
I've verified this using OmniObjectMeter. But, when I integrate
threading into this exact same code, all sorts of objects do not
get released. And I am creating an AutoreleasePool for the
worker thread and am even releasing it at the end of the worker
thread.
Do you have any pointers for other causes of memory leaks when
threading? I've just started to use Distributed Objects in order
to update the main GUI thread at the end of this repeating
worker thread. Even though this very simple DO setup functions
correctly, it still leaks.
Peculiarly, even though I've verified that the retainCount of
one of my "leaking" objects is correct (1) before it is
released, OmniObjectMeter still insists that the count of this
object is accumulating over the duration/looping of the program.
Please help if you can. I'm actively scouring the archives. :-)
Philip Weaver
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.