Just a couple of things off the top of my head.
There are two ways I have found to control object that just like to hang around. The first is a little program I have developed over the years called, Reset.prg. It does pretty good in clear memory and caches. You can download from here
http://www.GLRsoftware.com/download.asp#reset.zip The second is to register the COM object in Component Servers. There for the object is really instatiated there and not in the VFP process. Also, through Component Servers (CS), you can tell it to drop the object from memory. This help when needing to rebuild the project, and object is still laying around.
Hope it helps.
Greg Reichert