Hello,
Is there a way to remove the images from the device memory?
For example lets say we have a form with a background. I presume (by the numbers showed by dotFred's Task Manager) that the
doesn't make the process to take less memory. Even followed by
.
Moreover when we set another image as a form background it takes another amount of memory causing something we might call a memory leak.
Is there any way to prevent that? To unload the graphic file from the memory completely?
The same I would like to do with controls. To have a possibility to unload data necessary to show the control (like imageButton) from the memory when I switch it off and force my app to go to background.
The reason for this question is that I want my app to run in background but with the minimum amount of memory. And then - when I need to activate it - I redraw all the controls and set images.