I really love AutoIt, but always thought that the scripts took up too much memory. One day I stumbled across empty.exe from the 2003 resource kit, which essentially frees unused memory from a process. I had this discussion and this one with Valik and w0uter which resulted in the UDF below. Basically, it uses all of w0uter's code The results are spectacular -- usually a 50% reduction in memory with no noticable performance degradation. Memory usage, as reported by Task Manager, does gro