Board index » delphi » TImage & Memory problem
TImage & Memory problem
2004-09-09 08:31:29 PM
I have an application that displays photographs in a folder stored as .jpg.
I use a TImage on a form, and everytime the user presses a cursor key, a new
image is loaded and displayed in the TImage. The problem is that everytime
the user selects a new image, the memory usage goes up. Eventually windows
(2000) reports that virtual memory is running low and it resizes it. I have
found (from a previous post)that I can prevent this if I minimize the
application, load the new image and then restore the application which isn't
really acceptable. Is there something I can do to force whatever is
happening during the minimize / restore without actually having to minimize?