in reply to Re^5: Memory management with long running scriptsin thread Memory management with long running scripts
Ah! Works like a charm.