I have slideshow application that displays numerous images. However, after each image display more memory is taken by the program till after about 40 images the program runs out of memory and crashes. I need to be able to clear the memory used by each previously displayed image. I have tried g.dispose() and image.flush() with no results. How do I reclaim the used memory?