I have several applications that need real memory, and they consume a lot of it. One solution would be to have every piece of memory inside application LOCKED (VirtualLock) but it would require many hours to do right, since apps are in .NET.
So, my question is, is the DISABLING the swap file (I have PLENTY of RAM on the machine) valid strategy to ensure that everything will really be in memory?
Update:
Let me repeat - I know that this might be very DIRTY way of doing things, and may break operation of the whole OS, but, I'll take full responsibility and cope with consequences, would just want to know what I might run into, problem-wise.
Here's what other StackExchangers think about it: https://serverfault.com/questions/23621/any-benefit-or-detriment-from-removing-a-pagefile-on-an-8gb-ram-machine