Exercise 4: Monitoring Memory

What To Do How To Do It
Find the swap or page file and how the computer uses virtual memory; 
Compare with the amount of installed physical memory
  1. Click Start, Search (or Find), Files or Folders
  2. Type win386.swp or *.swp (pagefile.sys on Windows 2000/XP) and click Search
  3. If you can't find the file, use Windows Explorer to look in the root directory of C:.
    Click Tools, Folder Options, View, Show hidden files and folders
  4. In the search results look at the size of the swap or page file (in MB)
  5. Right-click My Computer and click Properties
  6. Look at the displayed amount of RAM (in MB)
  7. Click the Performance tab and click Virtual Memory 
    You will probably see that virtual memory is entirely managed by the system. 
    Do not change the settings.
View DOS memory usage:
  1. Command options
  2. Brief summary of all memory
  3. Conventional memory
  4. Free conventional memory
  5. Conventional memory details

Compare your results with my Windows Me example
and my Windows XP example

Click Start, Programs, Accessories, MS-DOS (Command) Prompt
  1. Type MEM /?
  2. Type MEM
  3. Type MEM /C
  4. Type MEM /F (Windows 98 only)
  5. Type MEM /D /P (MEM/D or MEM/P on Windows 2000/XP)
    What is the size of a segment? a page?
    How much space is in conventional memory?
View memory in System Information
  1. Click Start, Programs, Accessories, System Tools, System Information
    What percent of the physical memory is available?
    How does the size of virtual memory compare with physical memory?
    What percent of available virtual memory is in use?
    In what file or folder is the swap file being stored?
View memory in the System Monitor
  1. Click Start, Programs, Accessories, System Tools, System Monitor
  2. Click View, Numeric Charts and maximize the window
  3. Click Edit, Remove Item, and remove all items currently shown
  4. Click Edit, Add Item
  5. Click the Memory Manager category
    You will see many items relating to memory, swap file, disk cache, paging, etc. 
  6. For each of the items, click explain, and add the items
    How much total memory is the system using?
    What percent of the total is physical memory?
    What percent of the swap file is in use?  
  7. Run some programs and note their effect on the items.