Is there a way to flush memory used by Robot? My script does a lot of small image region comparisons per minute (approx 120) to detect state changes in the application under test. After a few hours, the script starts to fail. Image region comparisons that were working up until this point are now reporting "Error capturing image: Not enough memory available". I'm guessing that this is a GDI memory leak in Robot since there is plenty of available RAM when viewed through task manager, yet the Robot script UI is trashed (blank dialogs, empty menus, etc)?

Has anyone seen this before and is there a way to fix it?