go to System Properties,click Performance,click Virtual Memory.
Click Let me specify, set the numbers you want. Click OK, Click yes on the warning. In general it wors best for me to have the smallest swapfile size I can do. You may not want to increase its size unless you have a lot of disk access under normal use. Hope this helps.