For purging data look at the following VMware KB: http://kb.vmware.com/kb/2008223 

For removing resources/data collected for stale non existing VM’s look at, http://kb.vmware.com/kb/2020638