Memory cleaning
However, to prevent what could be a massive memory leak from occurring, I'm trying to set up a system whereby the program will periodically clean out the collection class so that any command object not used within a fixed period of time will be discarded.
To set this up, I figured that I would spawn a separate thread when the web application launches. But, I'm not sure if it is even wise (let alone doable) to have one thread within a program play around with the memory in another thread?
Any advice from this group is gratefully appreciated.
Laurence -

