this is the problem i faced,i load a picture into picturebox,then i clear the picture box and then loaded another image into it,the amount of memory located by program keeps increasing and it seems the last image is still in memory.
e.g :
first image is 10kb
default memory located by program before loading images is 1000kb
second image is 10kb as well
memory located after :
*loading first image : 1010kb
*loading second image and removing first image :1020kb
how can it be treated?
e.g :
first image is 10kb
default memory located by program before loading images is 1000kb
second image is 10kb as well
memory located after :
*loading first image : 1010kb
*loading second image and removing first image :1020kb
how can it be treated?