1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Swap file usage

Discussion in 'Windows XP' started by Art, 2005/10/04.

  1. 2005/10/04
    Art

    Art Inactive Thread Starter

    Joined:
    2005/03/28
    Messages:
    3
    Likes Received:
    0
    Hi folks -

    A question - My system has a gig of ram. However, I notice that when some programs are running there may be approximately half of the ram available but the swap file is in use. Any thoughts on why ram would be left unused and the system would be using virtual memory?

    Example - When DisKeeper is active in the background and my anti-virus app is scanning, according to Task Manager there may be 500 - 600 mb of memory available and about 250 meg of the swap file is being used. CPU usage is in the mid 90 to 100 percentile range as this is happening.

    If anyone has a clue as to how to make the system use available ram instead of virtual memory I'd sure be interested in hearing about it!

    Thanks in advance for your assistance.

    Art
     
    Art,
    #1
  2. 2005/10/04
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,317
    Likes Received:
    252
    Many apps are written to use the swap file which makes it difficult to do anything.

    You could try reducing the size of the swap file which might force the use of ram..
     

  3. to hide this advert.

  4. 2005/10/04
    WhitPhil

    WhitPhil Inactive

    Joined:
    2002/01/07
    Messages:
    599
    Likes Received:
    4
    The key is whether or not any actual paging activity is going on.

    Just because the swapfile is "in use" does not mean that there is any activity to it, which is what causes performance degradation.

    So, if there is actually a sustained paging rate, then something is strange. If not, I wouldn't worry about it.

    BTW Remember that this is a virtual system. Meaning that if a running application has the potential to ask for 8 GBs of storage (for whatever reason), windows is not about to try and allocate that much real Ram to it. The "leftovers" are going to appear as pagefile usage.
     
  5. 2005/10/04
    Art

    Art Inactive Thread Starter

    Joined:
    2005/03/28
    Messages:
    3
    Likes Received:
    0
    Swapfile

    Thanks for the replies.

    WhitPhil - Yes, the task manager indicates that there is actual usage going on as the swapfile use is in flux - in the instance I stated it varies from 248MB to 263MB observed. Since Task Manager shows considerably more than this amount of ram available I'm a little concerned about the use of the swapfile with more than enough ram not in use.

    While I do realize that some apps will want to use the swapfile, does this mean that if I reduced the swapfile size the system would, indeed, be 'forced' to use ram as Steve Jones suggested or would the system just run slower?

    Thanks again for the assistance, it's very much appreciated.

    Art
     
    Art,
    #4
  6. 2005/10/04
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
  7. 2005/10/04
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    It's not likely that any adjustments will effect the performance & swap file usage when these apps are running. These types of apps are designed to monitor & effect what other files are doing on the computer. They have toi use the swap file. For example, how else could an antivirus app detect a virus in memory unless it was actively using the swap file? A virus in memory may very well be IN the swap file. (swap file is another name for a type of memory) And a defrag app like Diskeeper must also use the swap file, it needs to be someplace other than the rest of the drive so it can do what it does to the rest of the drive.

    best to do diskkeeper tasks at night when not using the computer and system virus scans then too, but not both at the same time.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.