Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicates:
Windows Swap (Page File): Enable or Disable?
Can we decrease page swapping?

My system has a 5GB RAM.
And my paging file size is 2GB

Even though I have many RAM, page-swapping still occurs. But I don't want to that.

I know how adjust the paging file size.
If I resize the paging file size(ex 200MB?), Doesn't Windows System do any swapping?

Are there side-effects?

share|improve this question

migrated from stackoverflow.com Mar 22 '10 at 14:49

This question came from our site for professional and enthusiast programmers.

marked as duplicate by ChrisF, MDMarra, quack quixote, Robert Cartaino, Troggy Mar 22 '10 at 23:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
ahhaaaa, sorry. It's my fault. I didn't know that. –  Benjamin Mar 22 '10 at 14:18
    
@Benjamin: please read the FAQ –  Paul R Mar 22 '10 at 14:30
1  
Duplicate - superuser.com/questions/14795/… –  ChrisF Mar 22 '10 at 14:59
1  
this is an exact duplicate (user crosspost) of superuser.com/questions/122736/can-we-decrease-page-swapping –  quack quixote Mar 22 '10 at 15:48

1 Answer 1

My computer -> Properties -> Advanced tab -> "Settings" button in the Performance box -> Advanced tab -> "Change" button in the "Virtual memroy" box -> uncheck the "Automatically manage paging file size for all drives" or similar checkbox -> select the "No paging file" radio button.

I strongly encourage you to research what this does and understand the side-effects. There are some pretty hefty side-effects of doing this and I'm not going to get into those.

share|improve this answer
    
Thanks Jax. But it not my point. :) –  Benjamin Mar 22 '10 at 14:26
1  
You cannot control paging swapping from your application if there is excess available RAM. One situation where an application can reduce swapping (when the amount of RAM in use exceeds the available) is to ensure loops do not force memory access from different pages. But aside from this there's little you can do to prevent Windows from continually swapping. –  PP. Mar 22 '10 at 14:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.