We have found several memory leaks do to Threads. Since references to threads
can exist in default thread groups etc. the memory does not get released even
though you deferenced it.
For example, if you extend from Thread and do not run it. The memory will not be
garbage collected because there is reference to it in a default ThreadGroup.
So in a loop that redefines the reference, there is a memory leak. But if you
start the thread and it finishes each iteration, the threads should be garbage
collected. If you override run and call run() instead of start() - you will have
memory leaks.
We do have a memory leak on Linus with our Server code, but we do not know what
it is caused by at the moment. WE will find time to find out soon.
If you do find out why, please send me email and I will do the same.
steveb
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html