Director FAQ [12] Lists [12.8] How do I get rid of the damn things?
Lists are automatically garbage-collected when no references to them remain. In most cases, this means that clearing the variable referring to a list, or allowing it to go out of scope (ie exiting the handler in which a local variable was defined), should lead to the memory it occupied being reclaimed. However, this is not always guaranteed. While Director’s memory reclamation is often remarkably good, there are some cases it cannot cope with.