flushing page file
-
I am working on a project where i have to generate a lot of image files. While i am doing this, the size of the page file increases such that i run out of memory. I am thinking of flushing page file at certain intervals but not sure if its the right idea. I am not even sure if it is possible to do it programatically. Is there anyway to programatically flush the page file??
Regards, Srinivas
-
I am working on a project where i have to generate a lot of image files. While i am doing this, the size of the page file increases such that i run out of memory. I am thinking of flushing page file at certain intervals but not sure if its the right idea. I am not even sure if it is possible to do it programatically. Is there anyway to programatically flush the page file??
Regards, Srinivas
I dont think its good idea i dont even think it would be posible. page file will be automaticly flushed when you will delete your in memory images. if you still have images in memory loaded and flush page file you will be in trouble bro because when you will access image it would try to load from pagefile and there you wont find anything.