Board index » delphi » TImage & Memory problem
|
Ian Hodgson
Delphi Developer |
TImage & Memory problem2004-09-09 08:31:29 PM delphi1 Hello, 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? Ian |
