A dead thread, like any other object, will be collected by the GC if it cannot be reached by any links to it. Setting the ALL variables to null on it should make it available for GC collection.
The threat to memory usage ... it depends on how much memory you use in it - and how many links to other instances of objects (lists, Hashtables, ...). This is exactly the same threat to memory usage as any other type of object.
source share