How I can adjust Windows XP,so my program always stay in memory and NOT move to swap file?
Posted on 2005-03-10
Hellow Experts !
I has some dificult qustions – and need of your help !
I am writing software that assists to copy/move of real big files by fast 1 000 MB LAN. The size of files is larger – form 50 MB to 10 GB ! So after I copy about 1-2 GB Windows sets all RAM for copy process and kick up RAM, used in my software. In result – my application needs of some seconds in range 8-15 to become accessible :(
I have tried with many RAM – 1 GB –it improves response time, but not good enough. So I think that solutions must be in software.
I use Windows XP Pro (with SP2) or Windows 2000 (with SP4). I can NOT use Windows 2003 server. To copy files my application use ActiveX – Microsoft file system object.
So how can I order to windows to NOT move to swap file RAM, used form my software? May be some API that I can use? I use Visual Basic 6.0 with SP5, but can work and with C++.
I will be thankful to any help!